chore: enable AlignPPAndNotPP in clang-format and pin clang version in CI

This commit is contained in:
2026-06-30 11:57:30 +08:00
parent ff039708c8
commit 9de5d13435
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ AlignConsecutiveTableGenDefinitionColons:
AlignEscapedNewlines: Right
AlignOperands: Align
AlignTrailingComments:
#AlignPPAndNotPP: true
AlignPPAndNotPP: true
Kind: Always
OverEmptyLines: 0
AllowAllArgumentsOnNextLine: true

View File

@@ -9,7 +9,7 @@ permissions:
jobs:
formatting:
runs-on: ubuntu-latest
container: silkeh/clang:latest
container: silkeh/clang:21
steps:
- uses: actions/checkout@v4
- name: Run clang-format