[libcxx-commits] [libcxx] [libc++][ci] Removes C++2b selection option. (PR #88557)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 12 11:51:15 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Mark de Wever (mordante)

<details>
<summary>Changes</summary>

Since Clang 16 is no longer supported all compilers support C++23.

---
Full diff: https://github.com/llvm/llvm-project/pull/88557.diff


1 Files Affected:

- (modified) libcxx/utils/libcxx/test/params.py (-6) 


``````````diff
diff --git a/libcxx/utils/libcxx/test/params.py b/libcxx/utils/libcxx/test/params.py
index 5e42562ed5db52..5bc6e101c15420 100644
--- a/libcxx/utils/libcxx/test/params.py
+++ b/libcxx/utils/libcxx/test/params.py
@@ -79,12 +79,6 @@
 def getStdFlag(cfg, std):
     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
 
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/88557


More information about the libcxx-commits mailing list