projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d626d33
)
Add operator!= as the compliment to operator==. This is for a future change.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 19 Jun 2013 20:50:12 +0000
(20:50 +0000)
committer
Bill 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
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetOptions.h
b/include/llvm/Target/TargetOptions.h
index 31c4c75e609ea2be03c92939f0718f4325bab162..fc68c9ef2c90f15068282083961ae2ca283a9248 100644
(file)
--- 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