[llvm] r370772 - [cmake] Improve comment describing the C4245 warning. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 09:11:37 PDT 2019
Author: rksimon
Date: Tue Sep 3 09:11:37 2019
New Revision: 370772
URL: http://llvm.org/viewvc/llvm-project?rev=370772&view=rev
Log:
[cmake] Improve comment describing the C4245 warning. NFCI.
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=370772&r1=370771&r2=370772&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Tue Sep 3 09:11:37 2019
@@ -523,7 +523,7 @@ if (MSVC)
-wd4610 # Suppress '<class> can never be instantiated'
-wd4510 # Suppress 'default constructor could not be generated'
-wd4702 # Suppress 'unreachable code'
- -wd4245 # Suppress 'signed/unsigned mismatch'
+ -wd4245 # Suppress ''conversion' : conversion from 'type1' to 'type2', signed/unsigned mismatch'
-wd4706 # Suppress 'assignment within conditional expression'
-wd4310 # Suppress 'cast truncates constant value'
-wd4701 # Suppress 'potentially uninitialized local variable'
More information about the llvm-commits
mailing list