summaryrefslogtreecommitdiffstats
path: root/libcxx/cmake
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2019-05-30 06:08:56 +0000
committerPetr Hosek <phosek@chromium.org>2019-05-30 06:08:56 +0000
commit0528726a69c2f9245645c9efcec2294d2d99b908 (patch)
tree5cecda3d5eb8adaee7caa29d346b0f6464a0eaf5 /libcxx/cmake
parentf1ddf431b5dd47a6c03ed1420af69facace8cb1d (diff)
downloadbcm5719-llvm-0528726a69c2f9245645c9efcec2294d2d99b908.tar.gz
bcm5719-llvm-0528726a69c2f9245645c9efcec2294d2d99b908.zip
[libcxx][libcxxabi] Remove the unused CMake checks
These seemed to have been used in the past but were since removed by the add_compile_flags_if_supported functions that combine these these checks and adding the flag, but the original checks were never removed. Differential Revision: https://reviews.llvm.org/D62566 llvm-svn: 362058
Diffstat (limited to 'libcxx/cmake')
-rw-r--r--libcxx/cmake/config-ix.cmake9
1 files changed, 0 insertions, 9 deletions
diff --git a/libcxx/cmake/config-ix.cmake b/libcxx/cmake/config-ix.cmake
index cedc7679287..a7a684c9d5f 100644
--- a/libcxx/cmake/config-ix.cmake
+++ b/libcxx/cmake/config-ix.cmake
@@ -76,15 +76,6 @@ if(NOT WIN32 OR MINGW)
include(CheckLibcxxAtomic)
endif()
-# Check compiler flags
-
-check_cxx_compiler_flag(/WX LIBCXX_HAS_WX_FLAG)
-check_cxx_compiler_flag(/WX- LIBCXX_HAS_NO_WX_FLAG)
-check_cxx_compiler_flag(/EHsc LIBCXX_HAS_EHSC_FLAG)
-check_cxx_compiler_flag(/EHs- LIBCXX_HAS_NO_EHS_FLAG)
-check_cxx_compiler_flag(/EHa- LIBCXX_HAS_NO_EHA_FLAG)
-check_cxx_compiler_flag(/GR- LIBCXX_HAS_NO_GR_FLAG)
-
# Check libraries
if(WIN32 AND NOT MINGW)
# TODO(compnerd) do we want to support an emulation layer that allows for the
OpenPOWER on IntegriCloud