summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-06-19 20:50:12 +0000
committerBill Wendling <isanbard@gmail.com>2013-06-19 20:50:12 +0000
commit2e1dc2d2650c64f8fa57d12eb194dcf57e85ebb7 (patch)
treec057869b7644d90e3281b6a3a3ddfd29d3e6f179 /include
parentd626d33246c897a10d40e01b8658fa05c36b1e5f (diff)
downloadllvm-2e1dc2d2650c64f8fa57d12eb194dcf57e85ebb7.tar.gz
llvm-2e1dc2d2650c64f8fa57d12eb194dcf57e85ebb7.tar.bz2
llvm-2e1dc2d2650c64f8fa57d12eb194dcf57e85ebb7.tar.xz
Add operator!= as the compliment to operator==. This is for a future change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetOptions.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h
index 31c4c75e60..fc68c9ef2c 100644
--- a/include/llvm/Target/TargetOptions.h
+++ b/include/llvm/Target/TargetOptions.h
@@ -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