[clang-tools-extra] added option `llvm-header-guard.HeaderDirs` (PR #176940)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 21 04:33:34 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3084 tests passed
* 7 tests skipped
* 7 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang Tools
<details>
<summary>Clang Tools.clang-tidy/checkers/llvm/header-guard/include/correct.hpp</summary>
```
Test has no 'RUN:' line
```
</details>
<details>
<summary>Clang Tools.clang-tidy/checkers/llvm/header-guard/include/missing.hpp</summary>
```
Test has no 'RUN:' line
```
</details>
<details>
<summary>Clang Tools.clang-tidy/checkers/llvm/header-guard/include/wrong.hpp</summary>
```
Test has no 'RUN:' line
```
</details>
<details>
<summary>Clang Tools.clang-tidy/checkers/llvm/header-guard/other/correct.hpp</summary>
```
Test has no 'RUN:' line
```
</details>
<details>
<summary>Clang Tools.clang-tidy/checkers/llvm/header-guard/other/missing.hpp</summary>
```
Test has no 'RUN:' line
```
</details>
<details>
<summary>Clang Tools.clang-tidy/checkers/llvm/header-guard/other/wrong.hpp</summary>
```
Test has no 'RUN:' line
```
</details>
<details>
<summary>Clang Tools.clang-tidy/infrastructure/alphabetical-order.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../clang-tidy/tool/check_alphabetical_order.py -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.clang-tidy-checks-list.rst
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../clang-tidy/tool/check_alphabetical_order.py -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.clang-tidy-checks-list.rst
# note: command had no output on stdout or stderr
# RUN: at line 2
diff --strip-trailing-cr /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../docs/clang-tidy/checks/list.rst /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.clang-tidy-checks-list.rst
# executed command: diff --strip-trailing-cr /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../docs/clang-tidy/checks/list.rst /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.clang-tidy-checks-list.rst
# note: command had no output on stdout or stderr
# RUN: at line 4
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../clang-tidy/tool/check_alphabetical_order.py -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.ReleaseNotes.rst
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../clang-tidy/tool/check_alphabetical_order.py -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.ReleaseNotes.rst
# .---command stderr------------
# |
# | Entries in 'clang-tools-extra/docs/ReleaseNotes.rst' are not alphabetically sorted.
# | Fix the ordering by applying diff printed below.
# |
# `-----------------------------
# RUN: at line 5
diff --strip-trailing-cr /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../docs/ReleaseNotes.rst /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.ReleaseNotes.rst
# executed command: diff --strip-trailing-cr /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../docs/ReleaseNotes.rst /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.ReleaseNotes.rst
# .---command stdout------------
# | *** /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/../../../docs/ReleaseNotes.rst
# | --- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/infrastructure/Output/alphabetical-order.test.tmp.ReleaseNotes.rst
# | ***************
# | *** 114,122 ****
# | - Added support for analyzing function parameters with the `AnalyzeParameters`
# | option.
# |
# | - - Improved :doc:`llvm-header-guard <clang-tidy/checks/llvm/header-guard>` check
# | - by adding the option `HeaderDirs` to configure header directory names.
# | -
# | - Improved :doc:`modernize-use-std-format
# | <clang-tidy/checks/modernize/use-std-format>` check by fixing a crash
# | when an argument is part of a macro expansion.
# | --- 114,119 ----
# | ***************
# | *** 133,138 ****
# | --- 130,138 ----
# | <clang-tidy/checks/readability/enum-initial-value>` check: the warning message
# | now uses separate note diagnostics for each uninitialized enumerator, making
# | it easier to see which specific enumerators need explicit initialization.
# | +
# | + - Improved :doc:`llvm-header-guard <clang-tidy/checks/llvm/header-guard>` check
# | + by adding the option `HeaderDirs` to configure header directory names.
# |
# | Removed checks
# | ^^^^^^^^^^^^^^
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/176940
More information about the cfe-commits
mailing list