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

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Mon Dec 2 09:55:19 PST 2024


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

>From 7574893ae97dbd5ccfb3f5ef658d7bf833183a53 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 2c5cb169c0a9a3..6f370f11f8f5bf 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