[libcxx-commits] [libcxx] a3d58fc - [libc++] Drop redundant check for -std=c++14
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 24 09:23:14 PST 2020
Author: Louis Dionne
Date: 2020-02-24T12:23:05-05:00
New Revision: a3d58fcc034848d751f031e7d3ddfe8cf9b8e06e
URL: https://github.com/llvm/llvm-project/commit/a3d58fcc034848d751f031e7d3ddfe8cf9b8e06e
DIFF: https://github.com/llvm/llvm-project/commit/a3d58fcc034848d751f031e7d3ddfe8cf9b8e06e.diff
LOG: [libc++] Drop redundant check for -std=c++14
We always build all components of libc++ with -std=c++14 anyway
Added:
Modified:
libcxx/src/CMakeLists.txt
Removed:
################################################################################
diff --git a/libcxx/src/CMakeLists.txt b/libcxx/src/CMakeLists.txt
index 28af7b92430f..2a9d05473be6 100644
--- a/libcxx/src/CMakeLists.txt
+++ b/libcxx/src/CMakeLists.txt
@@ -313,11 +313,6 @@ if (LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY)
OUTPUT_NAME "c++experimental"
)
cxx_add_common_build_flags(cxx_experimental)
- # Overwrite the previously-set Standard flag with -std=c++14 if supported
- check_flag_supported(-std=c++14)
- if (NOT MSVC AND LIBCXX_SUPPORTS_STD_EQ_CXX14_FLAG)
- target_compile_options(cxx_experimental PRIVATE "-std=c++14")
- endif()
endif()
More information about the libcxx-commits
mailing list