projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e061a36
)
Add inequality operator for MachineLocation.
author
David Blaikie
<dblaikie@gmail.com>
Tue, 1 Apr 2014 21:54:52 +0000
(21:54 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Tue, 1 Apr 2014 21:54:52 +0000
(21:54 +0000)
Fixes the build I broke in r205360
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205361
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/MC/MachineLocation.h
patch
|
blob
|
history
diff --git
a/include/llvm/MC/MachineLocation.h
b/include/llvm/MC/MachineLocation.h
index 9cf855bb8995b0b1b0db0fb3323f757494bfedd1..2a18615eff6253367ecbc74ccda6747c65970628 100644
(file)
--- a/
include/llvm/MC/MachineLocation.h
+++ b/
include/llvm/MC/MachineLocation.h
@@
-73,6
+73,11
@@
public:
void dump();
#endif
};
+
+inline bool operator!=(const MachineLocation &LHS, const MachineLocation &RHS) {
+ return !(LHS == RHS);
+}
+
} // End llvm namespace
#endif