[clang-tools-extra] [Clang-Tidy] Skip `misc-unused-parameters` in macro. (PR #194999)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 29 21:18:59 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3223 tests passed
* 7 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang Tools
<details>
<summary>Clang Tools.clang-tidy/infrastructure/dump-config-filtering.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
clang-tidy -checks='-*,misc-unused-parameters' -dump-config /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/dump-config-filtering.cpp -- 2>/dev/null | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/dump-config-filtering.cpp --check-prefix=CHECK
# executed command: clang-tidy '-checks=-*,misc-unused-parameters' -dump-config /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/dump-config-filtering.cpp --
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/dump-config-filtering.cpp --check-prefix=CHECK
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/dump-config-filtering.cpp:5:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: misc-unused-parameters.IgnoreVirtual: 'false'
# | ^
# | <stdin>:20:2: note: 'next' match was here
# | misc-unused-parameters.IgnoreVirtual: 'false'
# | ^
# | <stdin>:18:14: note: previous match ended here
# | CheckOptions:
# | ^
# | <stdin>:19:1: note: non-matching line after previous match is here
# | misc-unused-parameters.IgnoreMacroParameters: 'false'
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/dump-config-filtering.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 15: HeaderFilterRegex: '.*'
# | 16: ExcludeHeaderFilterRegex: ''
# | 17: FormatStyle: none
# | 18: CheckOptions:
# | 19: misc-unused-parameters.IgnoreMacroParameters: 'false'
# | 20: misc-unused-parameters.IgnoreVirtual: 'false'
# | next:5 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 21: misc-unused-parameters.StrictMode: 'false'
# | 22: SystemHeaders: false
# | 23: ...
# | 24:
# | >>>>>>
# `-----------------------------
# 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/194999
More information about the cfe-commits
mailing list