]> granicus.if.org Git - llvm/commitdiff
[cmake] Remove MSVC C4355 override
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 10 May 2019 09:54:42 +0000 (09:54 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 10 May 2019 09:54:42 +0000 (09:54 +0000)
Remove C4355 : ''this' : used in base member initializer list' 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/D61757

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360413 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/HandleLLVMOptions.cmake

index 6195249c9206955bd76f4beee6dc43ff57e6cf65..2bc884129b7aec9cda406c20343c89dc6278f730 100644 (file)
@@ -512,7 +512,6 @@ if (MSVC)
       -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'
-      -wd4355 # Suppress ''this' : used in base member initializer list'
       -wd4456 # Suppress 'declaration of 'var' hides local variable'
       -wd4457 # Suppress 'declaration of 'var' hides function parameter'
       -wd4458 # Suppress 'declaration of 'var' hides class member'