summaryrefslogtreecommitdiffstats
path: root/lldb/cmake/modules
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-11-18 17:00:03 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2019-11-18 17:00:35 -0800
commita921f587f7b0df7dc37ff44117321cfa7849edb6 (patch)
treefaea0c8c11f921347ee0a5d2f900e0866f10498d /lldb/cmake/modules
parent755afc0af8f9a448befb0802a045746dc72ef759 (diff)
downloadbcm5719-llvm-a921f587f7b0df7dc37ff44117321cfa7849edb6.tar.gz
bcm5719-llvm-a921f587f7b0df7dc37ff44117321cfa7849edb6.zip
Revert "[CMake] Re-enable -Wno-gnu-anonymous-struct & -Wno-nested-anon-types."
Whoops, they should be enabled, not disabled.
Diffstat (limited to 'lldb/cmake/modules')
-rw-r--r--lldb/cmake/modules/LLDBConfig.cmake12
1 files changed, 0 insertions, 12 deletions
diff --git a/lldb/cmake/modules/LLDBConfig.cmake b/lldb/cmake/modules/LLDBConfig.cmake
index 5e45eb559d2..54c6283d0f4 100644
--- a/lldb/cmake/modules/LLDBConfig.cmake
+++ b/lldb/cmake/modules/LLDBConfig.cmake
@@ -363,18 +363,6 @@ if (CXX_SUPPORTS_NO_VLA_EXTENSION)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-vla-extension")
endif ()
-check_cxx_compiler_flag("-Wno-gnu-anonymous-struct"
- CXX_SUPPORTS_NO_GNU_ANONYMOUS_STRUCT)
-if (CXX_SUPPORTS_NO_GNU_ANONYMOUS_STRUCT)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-gnu-anonymous-struct")
-endif ()
-
-check_cxx_compiler_flag("-Wno-nested-anon-types"
- CXX_SUPPORTS_NO_NESTED_ANON_TYPES)
-if (CXX_SUPPORTS_NO_NESTED_ANON_TYPES)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-nested-anon-types")
-endif ()
-
# Disable MSVC warnings
if( MSVC )
add_definitions(
OpenPOWER on IntegriCloud