[libcxx-commits] [libcxx] [libc++] Remove workaround for clang-tidy 16 in the test suite setup code (PR #69035)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 13 17:17:56 PDT 2023


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

>From a61791fc31fde9fe822cd1e5510b4bb9ad7df700 Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Fri, 13 Oct 2023 17:14:16 -0700
Subject: [PATCH] [libc++] Remove workaround for clang-tidy 16 in the test
 suite setup code

We have moved to clang-tidy 17 now, so the workaround shouldn't
be necessary.
---
 libcxx/utils/libcxx/test/params.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libcxx/utils/libcxx/test/params.py b/libcxx/utils/libcxx/test/params.py
index 456794b9b1cce95..c3732560f5e469a 100644
--- a/libcxx/utils/libcxx/test/params.py
+++ b/libcxx/utils/libcxx/test/params.py
@@ -77,9 +77,6 @@
 
 
 def getStdFlag(cfg, std):
-    # 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.



More information about the libcxx-commits mailing list