diff options
author | Alp Toker <alp@nuanti.com> | 2013-12-29 06:33:19 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-12-29 06:33:19 +0000 |
commit | d51aa99ebd07795399af0ce200017cee881e0efc (patch) | |
tree | 1af59e267d604bb78c9cd2305995c17b95c551af /include | |
parent | 531c479697c51773702d9fcf5e508d536d81e3ca (diff) | |
download | llvm-d51aa99ebd07795399af0ce200017cee881e0efc.tar.gz llvm-d51aa99ebd07795399af0ce200017cee881e0efc.tar.bz2 llvm-d51aa99ebd07795399af0ce200017cee881e0efc.tar.xz |
Fix parens fail in r198142
Probable cause of the lld build failure on VS 2012.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198154 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/Compiler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h index 338a700b70..e2bcd563b0 100644 --- a/include/llvm/Support/Compiler.h +++ b/include/llvm/Support/Compiler.h @@ -135,8 +135,8 @@ /// public: /// ... /// }; -#if (__has_feature(cxx_deleted_functions) \ - || defined(__GXX_EXPERIMENTAL_CXX0X__)) || LLVM_MSC_PREREQ(1800) +#if __has_feature(cxx_deleted_functions) || \ + defined(__GXX_EXPERIMENTAL_CXX0X__) || LLVM_MSC_PREREQ(1800) #define LLVM_DELETED_FUNCTION = delete #else #define LLVM_DELETED_FUNCTION @@ -377,8 +377,8 @@ /// \macro LLVM_EXPLICIT /// \brief Expands to explicit on compilers which support explicit conversion /// operators. Otherwise expands to nothing. -#if (__has_feature(cxx_explicit_conversions) \ - || defined(__GXX_EXPERIMENTAL_CXX0X__)) || LLVM_MSC_PREREQ(1800) +#if __has_feature(cxx_explicit_conversions) || \ + defined(__GXX_EXPERIMENTAL_CXX0X__) || LLVM_MSC_PREREQ(1800) #define LLVM_EXPLICIT explicit #else #define LLVM_EXPLICIT |