[llvm] r184400 - Remove static, because it was messing everything up.

Bill Wendling isanbard at gmail.com
Wed Jun 19 23:51:06 PDT 2013


Author: void
Date: Thu Jun 20 01:51:06 2013
New Revision: 184400

URL: http://llvm.org/viewvc/llvm-project?rev=184400&view=rev
Log:
Remove static, because it was messing everything up.

Modified:
    llvm/trunk/include/llvm/Target/TargetOptions.h

Modified: llvm/trunk/include/llvm/Target/TargetOptions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetOptions.h?rev=184400&r1=184399&r2=184400&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetOptions.h (original)
+++ llvm/trunk/include/llvm/Target/TargetOptions.h Thu Jun 20 01:51:06 2013
@@ -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 Targ
 #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);
 }
 





More information about the llvm-commits mailing list