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

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 16 13:47:22 PDT 2024


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

>From acbaac8fe87ec469f8884b16eac52217986a4aa2 Mon Sep 17 00:00:00 2001
From: Mark de Wever <koraq at xs4all.nl>
Date: Fri, 12 Apr 2024 20:48:45 +0200
Subject: [PATCH] [libc++][ci] Removes C++2b selection option.

Since Clang 16 is no longer supported all compilers support C++23.
---
 libcxx/utils/libcxx/test/params.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/libcxx/utils/libcxx/test/params.py b/libcxx/utils/libcxx/test/params.py
index 13c7297fd7304f..06e196b28d8e0b 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
 
 



More information about the libcxx-commits mailing list