summaryrefslogtreecommitdiff
path: root/cmake
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
commita69179d7689bf302f3c7e04ee83c460e69b96b94 (patch)
tree14883c6348c9d3ad42984def387c16d776463f33 /cmake
parentf0813ceeaf33ab77fbc8b0196ebb612544e67579 (diff)
downloadllvm-a69179d7689bf302f3c7e04ee83c460e69b96b94.tar.gz
llvm-a69179d7689bf302f3c7e04ee83c460e69b96b94.tar.bz2
llvm-a69179d7689bf302f3c7e04ee83c460e69b96b94.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/HandleLLVMOptions.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake
index d0427acbd5..2731455a9c 100644
--- a/cmake/modules/HandleLLVMOptions.cmake
+++ b/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)'