summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2013-08-16 03:06:38 +0000
committerAaron Ballman <aaron@aaronballman.com>2013-08-16 03:06:38 +0000
commit7f92c7b52c47adcf4bc71e7c2f3603fe745a0e7a (patch)
tree7d7342380d0ebda58206285104b17f81a8723952 /cmake
parentbeccdd3ede609758a8c0074e01a7610d9d66e139 (diff)
downloadexternal_llvm-7f92c7b52c47adcf4bc71e7c2f3603fe745a0e7a.zip
external_llvm-7f92c7b52c47adcf4bc71e7c2f3603fe745a0e7a.tar.gz
external_llvm-7f92c7b52c47adcf4bc71e7c2f3603fe745a0e7a.tar.bz2
Re-disabling C4291 warnings for MSVC because AttributeList.h requires it. This was accidentally removed in r187279.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188530 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/HandleLLVMOptions.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake
index 58ffb8d..b49d649 100644
--- a/cmake/modules/HandleLLVMOptions.cmake
+++ b/cmake/modules/HandleLLVMOptions.cmake
@@ -182,6 +182,7 @@ if( MSVC )
-wd4503 # Suppress ''identifier' : decorated name length exceeded, name was truncated'
-wd4624 # Suppress ''derived class' : destructor could not be generated because a base class destructor is inaccessible'
-wd4800 # Suppress ''type' : forcing value to bool 'true' or 'false' (performance warning)'
+ -wd4291 # Suppress ''declaration' : no matching operator delete found; memory will not be freed if initialization throws an exception'
# Promoted warnings.
-w14062 # Promote 'enumerator in switch of enum is not handled' to level 1 warning.