From 2e1dc2d2650c64f8fa57d12eb194dcf57e85ebb7 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 19 Jun 2013 20:50:12 +0000 Subject: [PATCH] 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 --- include/llvm/Target/TargetOptions.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.34.1