Skip to content

Conversation

@vbvictor
Copy link
Contributor

@vbvictor vbvictor commented Sep 22, 2025

Testing ground do not review!

@vbvictor vbvictor marked this pull request as draft September 22, 2025 20:24
@llvmbot
Copy link
Member

llvmbot commented Sep 22, 2025

@llvm/pr-subscribers-github-workflow

Author: Baranov Victor (vbvictor)

Changes

WIP, do not review


Full diff: https://github.com/llvm/llvm-project/pull/160193.diff

1 Files Affected:

  • (modified) .github/workflows/pr-code-lint.yml (+4-1)
diff --git a/.github/workflows/pr-code-lint.yml b/.github/workflows/pr-code-lint.yml
index bc70933147bd2..3efd75471a317 100644
--- a/.github/workflows/pr-code-lint.yml
+++ b/.github/workflows/pr-code-lint.yml
@@ -47,10 +47,13 @@ jobs:
           echo "Changed files:"
           echo "$CHANGED_FILES"
 
+      # The clang tidy version should always be upgraded to the first version
+      # of a release cycle (x.1.0) or the last version of a release cycle, or
+      # if there have been relevant clang-format backports.
       - name: Install clang-tidy
         uses: aminya/setup-cpp@17c11551771948abc5752bbf3183482567c7caf0 # v1.1.1
         with:
-          clang-tidy: 20.1.8
+          clang-tidy: 21.1.0
       
       - name: Setup Python env
         uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0

@github-actions
Copy link

github-actions bot commented Sep 23, 2025

⚠️ C/C++ code linter clang-tidy found issues in your code. ⚠️

You can test this locally with the following command:
git diff -U0 origin/main...HEAD -- clang-tools-extra/clang-tidy/ClangTidy.cpp |
python3 clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py \
  -path build -p1 -quiet
View the output from clang-tidy here.
clang-tools-extra/clang-tidy/ClangTidy.cpp:58:54: warning: invalid case style for parameter 'o' [readability-identifier-naming]
   58 | void (*RegisterCustomChecks)(const ClangTidyOptions &o,
      |                                                      ^
      |                                                      O

@github-actions
Copy link

github-actions bot commented Sep 27, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@vbvictor vbvictor changed the title [GitHub] Bump clang-tidy version to 21th in CI [GitHub][WIP] Run clang-format inside ci-container Sep 28, 2025
@github-actions
Copy link

github-actions bot commented Sep 28, 2025

✅ With the latest revision this PR passed the Python code formatter.

@boomanaiden154
Copy link
Contributor

This is just a duplicate of #161073?

@vbvictor
Copy link
Contributor Author

This is just a duplicate of #161073?

Yes, I'm testing how everything works here

@vbvictor vbvictor changed the title [GitHub][WIP] Run clang-format inside ci-container [TEST][WIP] Run clang-format inside ci-container Sep 28, 2025
@vbvictor vbvictor changed the title [TEST][WIP] Run clang-format inside ci-container [TEST][WIP] Run clang-tidy inside ci-container Oct 20, 2025
vbvictor added a commit that referenced this pull request Oct 20, 2025
llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request Oct 20, 2025
@vbvictor vbvictor closed this Oct 24, 2025
Lukacma pushed a commit to Lukacma/llvm-project that referenced this pull request Oct 29, 2025
aokblast pushed a commit to aokblast/llvm-project that referenced this pull request Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants