[clang] [Clang][Parser] Reject unbalanced unknown attribute arguments (PR #220259)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 10 02:59:01 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 61404 tests passed
* 1859 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Misc/warning-flags.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
diagtool list-warnings > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Misc/Output/warning-flags.c.tmp 2>&1
# executed command: diagtool list-warnings
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Misc/Output/warning-flags.c.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/warning-flags.c
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Misc/Output/warning-flags.c.tmp /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/warning-flags.c
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/warning-flags.c:82:8: error: CHECK: expected string not found in input
# | CHECK: Number in -Wpedantic (not covered by other -W flags): 24
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Misc/Output/warning-flags.c.tmp:2320:18: note: scanning from here
# | warn_weak_import
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Misc/Output/warning-flags.c.tmp:2327:2: note: possible intended match here
# | Number in -Wpedantic (not covered by other -W flags): 25
# | ^
# |
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/test/Misc/Output/warning-flags.c.tmp
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/warning-flags.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 2315: warn_template_export_unsupported
# | 2316: warn_undef_interface
# | 2317: warn_undef_interface_suggest
# | 2318: warn_undef_protocolref
# | 2319: warn_weak_identifier_undeclared
# | 2320: warn_weak_import
# | check:82'0 { search range start (exclusive)
# | check:82'1 error: no match found in search range
# | 2321:
# | 2322: STATISTICS:
# | 2323:
# | 2324: Percentage of warnings with flags: 97.58%
# | 2325: Number of unique flags: 1057
# | 2326: Average number of diagnostics per flag: 2.14
# | 2327: Number in -Wpedantic (not covered by other -W flags): 25
# | check:82'2 ? possible intended match
# | 2328:
# | check:82'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/220259
More information about the cfe-commits
mailing list