summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-06-23 00:31:18 +0000
committerEric Fiselier <eric@efcs.ca>2019-06-23 00:31:18 +0000
commit2a31c9ba6779cb85c30fd91db4bf4ce1f636113b (patch)
treef147ce00dde131e691cec548f98ebefe82fee5c8
parent5f4ae7c45718618c4c571495e7d910d5722f70ad (diff)
downloadbcm5719-llvm-2a31c9ba6779cb85c30fd91db4bf4ce1f636113b.tar.gz
bcm5719-llvm-2a31c9ba6779cb85c30fd91db4bf4ce1f636113b.zip
Fix placement of -Wno-ignored-attributes
llvm-svn: 364144
-rw-r--r--libcxx/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt
index dde769dce7a..4a7d94549ff 100644
--- a/libcxx/CMakeLists.txt
+++ b/libcxx/CMakeLists.txt
@@ -565,7 +565,9 @@ add_compile_flags_if_supported(
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
add_compile_flags_if_supported(
-Wno-user-defined-literals
- -Wno-covered-switch-default)
+ -Wno-covered-switch-default
+ -Wno-ignored-attributes # FIXME: Caused by _LIBCPP_NODEBUG_TYPE not being supported on older clangs
+ )
if (LIBCXX_TARGETING_CLANG_CL)
add_compile_flags_if_supported(
-Wno-c++98-compat
@@ -582,7 +584,6 @@ if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
-Wno-deprecated # FIXME: Remove this and fix all occurrences.
-Wno-shift-sign-overflow # FIXME: Why do we need this with clang-cl but not clang?
-Wno-double-promotion # FIXME: remove me
- -Wno-ignored-attributes # FIXME: Caused by _LIBCPP_NODEBUG_TYPE not being supported on older clangs
)
endif()
elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
OpenPOWER on IntegriCloud