summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-06-19 22:12:11 +0000
committerBill Wendling <isanbard@gmail.com>2013-06-19 22:12:11 +0000
commit8623ecb263ef2b2e13e34608d90dca52f21fd6db (patch)
treec88ec34265101e081b7edbbeae33506da5a43911 /include
parent59aa54073848645cd20c828dfb1088127c541b36 (diff)
downloadllvm-8623ecb263ef2b2e13e34608d90dca52f21fd6db.tar.gz
llvm-8623ecb263ef2b2e13e34608d90dca52f21fd6db.tar.bz2
llvm-8623ecb263ef2b2e13e34608d90dca52f21fd6db.tar.xz
Make this static inline to avoid duplicates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetOptions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h
index e4a4b8797a..037a5f2fad 100644
--- a/include/llvm/Target/TargetOptions.h
+++ b/include/llvm/Target/TargetOptions.h
@@ -209,7 +209,7 @@ namespace llvm {
bool operator==(const TargetOptions &LHS, const TargetOptions &RHS);
-bool operator!=(const TargetOptions &LHS, const TargetOptions &RHS) {
+static inline bool operator!=(const TargetOptions &LHS, const TargetOptions &RHS) {
return !(LHS == RHS);
}