Skip to content

Commit aae9972

Browse files
committed
[cmake] Remove MSVC C4258 override
Tested on VS2017 and VS2019 llvm/clang builds with WX enabled - its no longer necessary to disable this warning. Differential Revision: https://reviews.llvm.org/D67047 llvm-svn: 370866
1 parent 2ae9da2 commit aae9972

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/cmake/modules/HandleLLVMOptions.cmake

-1
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,6 @@ if (MSVC)
504504
-wd4146 # Suppress 'unary minus operator applied to unsigned type, result still unsigned'
505505
-wd4180 # Suppress 'qualifier applied to function type has no meaning; ignored'
506506
-wd4244 # Suppress ''argument' : conversion from 'type1' to 'type2', possible loss of data'
507-
-wd4258 # Suppress ''var' : definition from the for loop is ignored; the definition from the enclosing scope is used'
508507
-wd4267 # Suppress ''var' : conversion from 'size_t' to 'type', possible loss of data'
509508
-wd4291 # Suppress ''declaration' : no matching operator delete found; memory will not be freed if initialization throws an exception'
510509
-wd4345 # Suppress 'behavior change: an object of POD type constructed with an initializer of the form () will be default-initialized'

0 commit comments

Comments
 (0)