[libcxx-commits] [PATCH] D152106: [libc++][test] Removes old fallbacks.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jun 20 10:29:57 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG202054559cb2: [libc++][test] Removes old fallbacks. (authored by Mordante).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152106/new/
https://reviews.llvm.org/D152106
Files:
libcxx/utils/libcxx/test/params.py
Index: libcxx/utils/libcxx/test/params.py
===================================================================
--- libcxx/utils/libcxx/test/params.py
+++ libcxx/utils/libcxx/test/params.py
@@ -57,18 +57,15 @@
def getStdFlag(cfg, std):
- fallbacks = {
- "c++11": "c++0x",
- "c++14": "c++1y",
- "c++17": "c++1z",
- "c++20": "c++2a",
- "c++23": "c++2b",
- }
# TODO(LLVM-17) Remove this clang-tidy-16 work-around
if std == "c++23":
std = "c++2b"
if hasCompileFlag(cfg, "-std=" + std):
return "-std=" + std
+ # TODO(LLVM-19) Remove the fallbacks needed for Clang 16.
+ fallbacks = {
+ "c++23": "c++2b",
+ }
if std in fallbacks and hasCompileFlag(cfg, "-std=" + fallbacks[std]):
return "-std=" + fallbacks[std]
return None
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152106.532984.patch
Type: text/x-patch
Size: 830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230620/24bfac91/attachment-0001.bin>
More information about the libcxx-commits
mailing list