From: Bill Wendling Date: Thu, 20 Jun 2013 06:51:06 +0000 (+0000) Subject: Remove static, because it was messing everything up. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=face8d901ebc2f3ac26e303603aae1b9304c4728;p=oota-llvm.git Remove static, because it was messing everything up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184400 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h index 54d5ae45c80..e240a9aeed2 100644 --- a/include/llvm/Target/TargetOptions.h +++ b/include/llvm/Target/TargetOptions.h @@ -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); }