llvm-capstone/libcxx
Louis Dionne c3e452acde [libc++] Do not infer support for C++17 in GCC < 7
libc++'s lit configuration infers the C++ language dialect when it is
not provided by checking which -std= flags that a compiler supports.
GCC 5 and GCC 6 have a -std=c++17 flag, however, they do not have full
C++17 support. The lit configuration has hardcoded logic that removes
-std=c++1z as an option to test for GCC < 7, but not -std=c++17.

This leads to a bunch of failures when running libc++ tests with GCC 5
or GCC 6. This patch adds -std=c++17 to the list of flags that are
discarded for GCC < 7 by lit's language dialect inference.

Thanks to Bryce Adelstein Lelbach for the patch.

Differential Revision: https://reviews.llvm.org/D62874

llvm-svn: 366700
2019-07-22 16:24:48 +00:00
..
benchmarks [libc++][CMake] Refactor how we link against system libraries 2019-04-30 15:44:19 +00:00
cmake Revert "[libc++] Take 2: Do not cleverly link against libc++abi just because it happens to be there" 2019-07-08 17:46:23 +00:00
docs Bump the trunk version to 10.0.0svn 2019-07-18 11:51:05 +00:00
fuzzing Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
include Revert "[libc++] Integrate the PSTL into libc++" 2019-07-19 18:52:46 +00:00
lib [libc++] Update ABI list for ABI v2 2019-06-17 19:37:26 +00:00
src Revert "[libc++] Integrate the PSTL into libc++" 2019-07-19 18:52:46 +00:00
test [libc++] Mark libcpp_deallocate.sh.cpp as UNSUPPORTED instead of XFAIL on AppleClang 9 2019-07-19 19:41:40 +00:00
utils [libc++] Do not infer support for C++17 in GCC < 7 2019-07-22 16:24:48 +00:00
www Update c++2a status page with post-Cologne information 2019-07-22 15:13:14 +00:00
.arcconfig
.clang-format
.gitignore
appveyor-reqs-install.cmd Attempt to upgrade compiler used by appveyor builds 2019-04-03 20:40:01 +00:00
appveyor.yml disable appveyor config for MSVC 2015 2019-04-03 20:36:51 +00:00
CMakeLists.txt Revert "[libc++] Integrate the PSTL into libc++" 2019-07-19 18:52:46 +00:00
CREDITS.TXT
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
NOTES.TXT
TODO.TXT