From 7f92c7b52c47adcf4bc71e7c2f3603fe745a0e7a Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Fri, 16 Aug 2013 03:06:38 +0000 Subject: 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 --- cmake/modules/HandleLLVMOptions.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'cmake') 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. -- cgit v1.1