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); }