Add operator!= as the compliment to operator==. This is for a future change.
authorBill Wendling <isanbard@gmail.com>
Wed, 19 Jun 2013 20:50:12 +0000 (20:50 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 19 Jun 2013 20:50:12 +0000 (20:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184348 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetOptions.h

index 31c4c75e609ea2be03c92939f0718f4325bab162..fc68c9ef2c90f15068282083961ae2ca283a9248 100644 (file)
@@ -204,7 +204,10 @@ namespace llvm {
     /// the value of this option.
     FPOpFusion::FPOpFusionMode AllowFPOpFusion;
 
-    bool operator==(const TargetOptions &);
+    bool operator==(const TargetOptions &TM);
+    bool operator!=(const TargetOptions &TM) {
+      return !(*this == TM);
+    }
   };
 } // End llvm namespace