mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Add operator!= for FoldingSetNodeID and FoldingSetNodeIDRef. Implementation in
the header forwards to operator== which is not in the header. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
527d783837
commit
665b92322a
@ -278,6 +278,8 @@ public:
|
||||
|
||||
bool operator==(FoldingSetNodeIDRef) const;
|
||||
|
||||
bool operator!=(FoldingSetNodeIDRef RHS) const { return !(*this == RHS); }
|
||||
|
||||
/// Used to compare the "ordering" of two nodes as defined by the
|
||||
/// profiled bits and their ordering defined by memcmp().
|
||||
bool operator<(FoldingSetNodeIDRef) const;
|
||||
@ -331,6 +333,9 @@ public:
|
||||
bool operator==(const FoldingSetNodeID &RHS) const;
|
||||
bool operator==(const FoldingSetNodeIDRef RHS) const;
|
||||
|
||||
bool operator!=(const FoldingSetNodeID &RHS) const { return !(*this == RHS); }
|
||||
bool operator!=(const FoldingSetNodeIDRef RHS) const { return !(*this ==RHS);}
|
||||
|
||||
/// Used to compare the "ordering" of two nodes as defined by the
|
||||
/// profiled bits and their ordering defined by memcmp().
|
||||
bool operator<(const FoldingSetNodeID &RHS) const;
|
||||
|
Loading…
Reference in New Issue
Block a user