summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-07-20 21:14:14 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-07-20 21:14:14 +0000
commit0cba642a05ad0675f313e55fce29ce5273340a59 (patch)
tree7be5e18dde2f5ee5e19d1394a8712f8ac1147d5d /llvm/cmake/modules
parentab980499470b2ed1eba4864686f4d0fdaed47306 (diff)
downloadbcm5719-llvm-0cba642a05ad0675f313e55fce29ce5273340a59.tar.gz
bcm5719-llvm-0cba642a05ad0675f313e55fce29ce5273340a59.zip
Suppress two warnings from MSVC 2015 that are triggered under /W4. Since we turn off exceptions in the code base, C4577 is moot. C4091 triggers on system headers and is a benign construct.
llvm-svn: 242708
Diffstat (limited to 'llvm/cmake/modules')
-rw-r--r--llvm/cmake/modules/HandleLLVMOptions.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake
index 9f5a3a0a1bc..85c731d4ea4 100644
--- a/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ b/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -307,6 +307,8 @@ if( MSVC )
-wd4611 # Suppress 'interaction between '_setjmp' and C++ object destruction is non-portable'
-wd4805 # Suppress 'unsafe mix of type <type> and type <type> in operation'
-wd4204 # Suppress 'nonstandard extension used : non-constant aggregate initializer'
+ -wd4577 # Suppress 'noexcept used with no exception handling mode specified; termination on exception is not guaranteed'
+ -wd4091 # Suppress 'typedef: ignored on left of '' when no variable is declared'
# Ideally, we'd like this warning to be enabled, but MSVC 2013 doesn't
# support the 'aligned' attribute in the way that clang sources requires (for
OpenPOWER on IntegriCloud