[libcxx-commits] [libcxx] r362058 - [libcxx][libcxxabi] Remove the unused CMake checks
Petr Hosek via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 29 23:08:56 PDT 2019
Author: phosek
Date: Wed May 29 23:08:56 2019
New Revision: 362058
URL: http://llvm.org/viewvc/llvm-project?rev=362058&view=rev
Log:
[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
Modified:
libcxx/trunk/cmake/config-ix.cmake
Modified: libcxx/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/cmake/config-ix.cmake?rev=362058&r1=362057&r2=362058&view=diff
==============================================================================
--- libcxx/trunk/cmake/config-ix.cmake (original)
+++ libcxx/trunk/cmake/config-ix.cmake Wed May 29 23:08:56 2019
@@ -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
More information about the libcxx-commits
mailing list