[cmake] Remove MSVC C4180 override
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 4 Sep 2019 10:26:39 +0000 (10:26 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 4 Sep 2019 10:26:39 +0000 (10:26 +0000)
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/D67103

llvm-svn: 370871

llvm/cmake/modules/HandleLLVMOptions.cmake

index 613d6f38d4559fa5462acf86d63d978ba3d43db4..120438e5faca89b4bf4c081c2013729c463cd074 100644 (file)
@@ -502,7 +502,6 @@ if (MSVC)
       # Disabled warnings.
       -wd4141 # Suppress ''modifier' : used more than once' (because of __forceinline combined with inline)
       -wd4146 # Suppress 'unary minus operator applied to unsigned type, result still unsigned'
-      -wd4180 # Suppress 'qualifier applied to function type has no meaning; ignored'
       -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'