Skip to content

Commit a2ab528

Browse files
committed
[cmake] Remove MSVC C4800 override
Remove C4800 : ''type' : forcing value to bool 'true' or 'false' (performance warning)' from the list of forced disabled warnings. I'm not seeing any regressions in VS2017/VS2019 llvm/clang builds from removing this. Differential Revision: https://reviews.llvm.org/D61730 llvm-svn: 360417
1 parent 93b6aa0 commit a2ab528

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/cmake/modules/HandleLLVMOptions.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,6 @@ if (MSVC)
519519
-wd4503 # Suppress ''identifier' : decorated name length exceeded, name was truncated'
520520
-wd4624 # Suppress ''derived class' : destructor could not be generated because a base class destructor is inaccessible'
521521
-wd4722 # Suppress 'function' : destructor never returns, potential memory leak
522-
-wd4800 # Suppress ''type' : forcing value to bool 'true' or 'false' (performance warning)'
523522
-wd4100 # Suppress 'unreferenced formal parameter'
524523
-wd4127 # Suppress 'conditional expression is constant'
525524
-wd4512 # Suppress 'assignment operator could not be generated'

0 commit comments

Comments
 (0)