[llvm] r205361 - Add inequality operator for MachineLocation.
David Blaikie
dblaikie at gmail.com
Tue Apr 1 14:54:52 PDT 2014
Author: dblaikie
Date: Tue Apr 1 16:54:52 2014
New Revision: 205361
URL: http://llvm.org/viewvc/llvm-project?rev=205361&view=rev
Log:
Add inequality operator for MachineLocation.
Fixes the build I broke in r205360
Modified:
llvm/trunk/include/llvm/MC/MachineLocation.h
Modified: llvm/trunk/include/llvm/MC/MachineLocation.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MachineLocation.h?rev=205361&r1=205360&r2=205361&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MachineLocation.h (original)
+++ llvm/trunk/include/llvm/MC/MachineLocation.h Tue Apr 1 16:54:52 2014
@@ -73,6 +73,11 @@ public:
void dump();
#endif
};
+
+inline bool operator!=(const MachineLocation &LHS, const MachineLocation &RHS) {
+ return !(LHS == RHS);
+}
+
} // End llvm namespace
#endif
More information about the llvm-commits
mailing list