From: Simon Pilgrim Date: Fri, 10 May 2019 09:54:42 +0000 (+0000) Subject: [cmake] Remove MSVC C4355 override X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08c43ee5f4cfc25babe374a1318065dcc16b2773;p=llvm [cmake] Remove MSVC C4355 override 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 --- diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake index 6195249c920..2bc884129b7 100644 --- a/cmake/modules/HandleLLVMOptions.cmake +++ b/cmake/modules/HandleLLVMOptions.cmake @@ -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'