[llvm] r188530 - Re-disabling C4291 warnings for MSVC because AttributeList.h requires it. This was accidentally removed in r187279.

Aaron Ballman aaron at aaronballman.com
Thu Aug 15 20:06:38 PDT 2013


Author: aaronballman
Date: Thu Aug 15 22:06:38 2013
New Revision: 188530

URL: http://llvm.org/viewvc/llvm-project?rev=188530&view=rev
Log:
Re-disabling C4291 warnings for MSVC because AttributeList.h requires it.  This was accidentally removed in r187279.

Modified:
    llvm/trunk/cmake/modules/HandleLLVMOptions.cmake

Modified: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/HandleLLVMOptions.cmake?rev=188530&r1=188529&r2=188530&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Thu Aug 15 22:06:38 2013
@@ -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.





More information about the llvm-commits mailing list