summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-08-17 01:28:30 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-08-17 01:28:30 +0000
commitb3457c9eefdea3e9e9386628bc6cd31f85478172 (patch)
tree7121c66b609e0fb73efc5dae0709f99c0406dc9d /llvm
parent09af8c36d1b2af7e8b2df8b6f717a1d39951c139 (diff)
downloadbcm5719-llvm-b3457c9eefdea3e9e9386628bc6cd31f85478172.tar.gz
bcm5719-llvm-b3457c9eefdea3e9e9386628bc6cd31f85478172.zip
CMake: [MSVC] Suppress C4551 'function call missing argument list'.
(void)static_func; it is used as idiom in llvm source tree to suppress "Unused static function" warnings. llvm-svn: 137800
Diffstat (limited to 'llvm')
-rw-r--r--llvm/cmake/modules/HandleLLVMOptions.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake
index d0427acbd5d..2731455a9ce 100644
--- a/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ b/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -155,6 +155,7 @@ if( MSVC )
-wd4351 # Suppress 'new behavior: elements of array 'array' will be default initialized'
-wd4355 # Suppress ''this' : used in base member initializer list'
-wd4503 # Suppress ''identifier' : decorated name length exceeded, name was truncated'
+ -wd4551 # Suppress 'function call missing argument list'
-wd4624 # Suppress ''derived class' : destructor could not be generated because a base class destructor is inaccessible'
-wd4715 # Suppress ''function' : not all control paths return a value'
-wd4800 # Suppress ''type' : forcing value to bool 'true' or 'false' (performance warning)'
OpenPOWER on IntegriCloud