diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-06-19 22:12:11 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-06-19 22:12:11 +0000 |
commit | 8623ecb263ef2b2e13e34608d90dca52f21fd6db (patch) | |
tree | c88ec34265101e081b7edbbeae33506da5a43911 /include/llvm/Target | |
parent | 59aa54073848645cd20c828dfb1088127c541b36 (diff) | |
download | llvm-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/llvm/Target')
-rw-r--r-- | include/llvm/Target/TargetOptions.h | 2 |
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); } |