summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules/HandleLLVMOptions.cmake
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-09-04 10:26:39 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-09-04 10:26:39 +0000
commitd3e3c11f4bccbfeb36dc70eb2acb34b1622cd51a (patch)
tree51910d730ff340e00c6bc273f498595cb79207e1 /llvm/cmake/modules/HandleLLVMOptions.cmake
parentc8c5f2a84e3026ec29db30ae564e35c7f6f1a0ed (diff)
downloadbcm5719-llvm-d3e3c11f4bccbfeb36dc70eb2acb34b1622cd51a.tar.gz
bcm5719-llvm-d3e3c11f4bccbfeb36dc70eb2acb34b1622cd51a.zip
[cmake] Remove MSVC C4180 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/D67103 llvm-svn: 370871
Diffstat (limited to 'llvm/cmake/modules/HandleLLVMOptions.cmake')
-rw-r--r--llvm/cmake/modules/HandleLLVMOptions.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake
index 613d6f38d45..120438e5fac 100644
--- a/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ b/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -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'
OpenPOWER on IntegriCloud