mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 02:16:46 +00:00
Constify operators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63979 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e8d7230f48
commit
2325c7b1c5
@ -49,8 +49,8 @@ namespace llvm {
|
||||
/// MachineInstr.
|
||||
bool isUnknown() const { return Idx == 0; }
|
||||
|
||||
bool operator==(const DebugLoc &DL) { return Idx == DL.Idx; }
|
||||
bool operator!=(const DebugLoc &DL) { return !(*this == DL); }
|
||||
bool operator==(const DebugLoc &DL) const { return Idx == DL.Idx; }
|
||||
bool operator!=(const DebugLoc &DL) const { return !(*this == DL); }
|
||||
};
|
||||
|
||||
// Partially specialize DenseMapInfo for DebugLocTyple.
|
||||
|
Loading…
Reference in New Issue
Block a user