summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2013-07-28 18:04:26 +0000
committerAaron Ballman <aaron@aaronballman.com>2013-07-28 18:04:26 +0000
commit7f817029d57466be924272650ecee5648b05b277 (patch)
tree8477194b34537ca4d3eefb7b3c3db42d44227ec5 /cmake
parent65f12f1d0542163e4e40b9e0ffbfcb3fd1df8f3a (diff)
downloadllvm-7f817029d57466be924272650ecee5648b05b277.tar.gz
llvm-7f817029d57466be924272650ecee5648b05b277.tar.bz2
llvm-7f817029d57466be924272650ecee5648b05b277.tar.xz
Partial revert of 187310; it seems MSVC 10 still spits out this warning, but MSVC 11 does not.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187331 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/HandleLLVMOptions.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake
index ccd8c819ad..97824a1064 100644
--- a/cmake/modules/HandleLLVMOptions.cmake
+++ b/cmake/modules/HandleLLVMOptions.cmake
@@ -176,7 +176,8 @@ 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)'
-
+ -wd4275 # Suppress 'An exported class was derived from a class that was not exported.'
+
# Promoted warnings.
-w14062 # Promote 'enumerator in switch of enum is not handled' to level 1 warning.