[llvm-commits] [llvm] r158171 - /llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
Michael J. Spencer
bigcheesegs at gmail.com
Thu Jun 7 14:34:31 PDT 2012
Author: mspencer
Date: Thu Jun 7 16:34:31 2012
New Revision: 158171
URL: http://llvm.org/viewvc/llvm-project?rev=158171&view=rev
Log:
[CMake] Order MSVC warnings numerically.
Modified:
llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
Modified: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/HandleLLVMOptions.cmake?rev=158171&r1=158170&r2=158171&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Thu Jun 7 16:34:31 2012
@@ -151,8 +151,10 @@
-D_SCL_SECURE_NO_WARNINGS
# Disabled warnings.
+ -wd4065 # Suppress 'switch statement contains 'default' but no 'case' labels'
-wd4146 # Suppress 'unary minus operator applied to unsigned type, result still unsigned'
-wd4180 # Suppress 'qualifier applied to function type has no meaning; ignored'
+ -wd4181 # Suppress 'qualifier applied to reference type; ignored'
-wd4224 # Suppress 'nonstandard extension used : formal parameter 'identifier' was previously defined as a type'
-wd4244 # Suppress ''argument' : conversion from 'type1' to 'type2', possible loss of data'
-wd4267 # Suppress ''var' : conversion from 'size_t' to 'type', possible loss of data'
@@ -166,8 +168,6 @@
-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)'
- -wd4065 # Suppress 'switch statement contains 'default' but no 'case' labels'
- -wd4181 # Suppress 'qualifier applied to reference type; ignored'
# Promoted warnings.
-w14062 # Promote 'enumerator in switch of enum is not handled' to level 1 warning.
More information about the llvm-commits
mailing list