From: Bill Wendling Date: Wed, 19 Jun 2013 20:50:12 +0000 (+0000) Subject: Add operator!= as the compliment to operator==. This is for a future change. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2e1dc2d2650c64f8fa57d12eb194dcf57e85ebb7;p=oota-llvm.git 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 --- diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h index 31c4c75e609..fc68c9ef2c9 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