diff options
author | Fangrui Song <i@maskray.me> | 2022-09-08 08:22:04 +0000 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-09-08 08:22:04 +0000 |
commit | 3e99b8d947ac024831e59be2b604ac67a24fed94 (patch) | |
tree | 7ce8de753d2110970480b242870f94b70955dea1 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 047c7aa96dadf8a2c71a29e2df610d628d9e7e3e (diff) | |
download | llvm-3e99b8d947ac024831e59be2b604ac67a24fed94.zip llvm-3e99b8d947ac024831e59be2b604ac67a24fed94.tar.gz llvm-3e99b8d947ac024831e59be2b604ac67a24fed94.tar.bz2 |
C++/ObjC++: switch to gnu++17 as the default standard
Clang's default C++ standard is now `gnu++17` instead of `gnu++14`:
https://discourse.llvm.org/t/c-objc-switch-to-gnu-17-as-the-default-standard/64360
* CUDA/HIP are unchanged: C++14 from D103221.
* Sony PS4/PS5 are unchanged: https://discourse.llvm.org/t/c-objc-switch-to-gnu-17-as-the-default-standard/64360/6
* lit feature `default-std-cxx` is added to keep CLANG_DEFAULT_STD_CXX=xxx tests working.
Whether the cmake variable should be retained is disccused in D133375.
Depends on D131464
Reviewed By: #clang-language-wg, aaron.ballman
Differential Revision: https://reviews.llvm.org/D131465
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions