[llvm-branch-commits] [libcxx] [libc++][modules] Increase clang-tidy version used. (PR #76268)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Dec 22 12:53:19 PST 2023


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 10c2d9a35aafe8e21835a6274eddb780baaa6f2c...082ae9517251ef253ca475a8bcdcdb5519806eee libcxx/utils/libcxx/test/features.py
``````````

</details>

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

``````````diff
--- features.py	2023-12-22 20:43:57.000000 +0000
+++ features.py	2023-12-22 20:53:12.875248 +0000
@@ -29,12 +29,12 @@
         # If we didn't build the libcxx-tidy plugin via CMake, we can't run the clang-tidy tests.
         if runScriptExitCode(cfg, ["stat %{test-tools}/clang_tidy_checks/libcxx-tidy.plugin"]) != 0:
             return None
 
         # TODO MODULES require ToT due module specific fixes.
-        if runScriptExitCode(cfg, ['clang-tidy-18 --version']) == 0:
-          return 'clang-tidy-18'
+        if runScriptExitCode(cfg, ["clang-tidy-18 --version"]) == 0:
+            return "clang-tidy-18"
 
         # TODO This should be the last stable release.
         # LLVM RELEASE bump to latest stable version
         if runScriptExitCode(cfg, ["clang-tidy-16 --version"]) == 0:
             return "clang-tidy-16"

``````````

</details>


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


More information about the llvm-branch-commits mailing list