[cmake][msvc] Don't disable C4345 any more.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 28 Feb 2020 13:56:48 +0000 (13:56 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 28 Feb 2020 13:57:20 +0000 (13:57 +0000)
This shouldn't be relevant now that we just support VS2017+.

llvm/cmake/modules/HandleLLVMOptions.cmake

index 4868a85..b915237 100644 (file)
@@ -499,7 +499,6 @@ if (MSVC)
       -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'
       -wd4291 # Suppress ''declaration' : no matching operator delete found; memory will not be freed if initialization throws an exception'
-      -wd4345 # Suppress 'behavior change: an object of POD type constructed with an initializer of the form () will be default-initialized'
       -wd4351 # Suppress 'new behavior: elements of array 'array' will be default initialized'
       -wd4456 # Suppress 'declaration of 'var' hides local variable'
       -wd4457 # Suppress 'declaration of 'var' hides function parameter'