summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2011-04-19 00:03:17 +0000
committerFrancois Pichet <pichet2000@gmail.com>2011-04-19 00:03:17 +0000
commit939efc5b0d50e8f60c8070020d82b2a87cfc4356 (patch)
tree5cdd70caf170de6a7e1c604322a2a609b24d536c
parentfc8d930f6ef1aa4fbd402c5b36f734214863d5d4 (diff)
downloadbcm5719-llvm-939efc5b0d50e8f60c8070020d82b2a87cfc4356.tar.gz
bcm5719-llvm-939efc5b0d50e8f60c8070020d82b2a87cfc4356.zip
Disable warning C4181: "qualifier applied to reference type; ignored"
This was causing a flooding of warnings with MSVC 2008. This warning was removed in MSVC 2010. llvm-svn: 129737
-rw-r--r--llvm/cmake/modules/HandleLLVMOptions.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake
index 2c216f3eafd..0633ac9e3a5 100644
--- a/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ b/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -153,7 +153,7 @@ if( MSVC )
-wd4715 # Suppress ''function' : not all control paths return a value'
-wd4800 # Suppress ''type' : forcing value to bool 'true' or 'false' (performance warning)'
-wd4065 # Suppress 'switch statement contains 'default' but no 'case' labels'
-
+ -wd4181 # Suppress 'qualifier applied to reference type; ignored'
-w14062 # Promote "enumerator in switch of enum is not handled" to level 1 warning.
)
OpenPOWER on IntegriCloud