Remove static, because it was messing everything up.
authorBill Wendling <isanbard@gmail.com>
Thu, 20 Jun 2013 06:51:06 +0000 (06:51 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 20 Jun 2013 06:51:06 +0000 (06:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184400 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetOptions.h

index 54d5ae45c800b1bc841098434d35f3f3c5c4b414..e240a9aeed2715ac14038249aa6e5168d92efcfb 100644 (file)
@@ -208,8 +208,8 @@ namespace llvm {
 // Comparison operators:
 
 
-static inline bool operator==(const TargetOptions &LHS,
-                              const TargetOptions &RHS) {
+inline bool operator==(const TargetOptions &LHS,
+                       const TargetOptions &RHS) {
 #define ARE_EQUAL(X) LHS.X == RHS.X
   return
     ARE_EQUAL(UnsafeFPMath) &&
@@ -235,8 +235,8 @@ static inline bool operator==(const TargetOptions &LHS,
 #undef ARE_EQUAL
 }
 
-static inline bool operator!=(const TargetOptions &LHS,
-                              const TargetOptions &RHS) {
+inline bool operator!=(const TargetOptions &LHS,
+                       const TargetOptions &RHS) {
   return !(LHS == RHS);
 }