diff options
author | Louis Dionne <ldionne@apple.com> | 2019-07-22 16:24:48 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2019-07-22 16:24:48 +0000 |
commit | c3e452acde8a886e257a7893616f8603f38f1951 (patch) | |
tree | 10dd7ac7b802de9e41e1d85d935d12ae17532342 /lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp | |
parent | d2c0eefd5cb004487f645d7d62387caa51a20994 (diff) | |
download | bcm5719-llvm-c3e452acde8a886e257a7893616f8603f38f1951.tar.gz bcm5719-llvm-c3e452acde8a886e257a7893616f8603f38f1951.zip |
[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
Diffstat (limited to 'lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp')
0 files changed, 0 insertions, 0 deletions