[libcxx-commits] [libcxx] [llvm] [libc++] Update the CI to Clang-20 and drop Clang-17 support (PR #117429)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Nov 23 03:50:54 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r aaa0dd2f05ff957a171a87e78578dddc59fc49c2...f2f373d76c12ec463080fedbc4bc15db9fe89106 libcxx/test/libcxx/clang_tidy.gen.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- clang_tidy.gen.py	2024-11-23 11:45:40.000000 +0000
+++ clang_tidy.gen.py	2024-11-23 11:49:37.786340 +0000
@@ -16,11 +16,12 @@
 import sys
 sys.path.append(sys.argv[1])
 from libcxx.header_information import lit_header_restrictions, public_headers
 
 for header in public_headers:
-  print(f"""\
+    print(
+        f"""\
 //--- {header}.sh.cpp
 
 // REQUIRES: has-clang-tidy
 
 // The GCC compiler flags are not always compatible with clang-tidy.
@@ -31,6 +32,7 @@
 // TODO: run clang-tidy with modules enabled once they are supported
 // RUN: %{{clang-tidy}} %s --warnings-as-errors=* -header-filter=.* --checks='-*,libcpp-*' --load=%{{test-tools-dir}}/clang_tidy_checks/libcxx-tidy.plugin -- %{{compile_flags}} -fno-modules
 // RUN: %{{clang-tidy}} %s --warnings-as-errors=* -header-filter=.* --config-file=%{{libcxx-dir}}/.clang-tidy -- -Wweak-vtables %{{compile_flags}} -fno-modules
 
 #include <{header}>
-""")
+"""
+    )

``````````

</details>


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


More information about the libcxx-commits mailing list