[clang] [clang-tools-extra] [llvm] Attributes kay (PR #196272)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 10 08:11:05 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 55741 tests passed
* 1379 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.AST/undocumented-attrs.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang-tblgen.exe -gen-clang-attr-undocumented-list -IC:\_work\llvm-project\llvm-project\clang\test\AST/../../include/ C:\_work\llvm-project\llvm-project\clang\test\AST/../../include/clang/Basic/Attr.td -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\AST\undocumented-attrs.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang-tblgen.exe' -gen-clang-attr-undocumented-list '-IC:\_work\llvm-project\llvm-project\clang\test\AST/../../include/' 'C:\_work\llvm-project\llvm-project\clang\test\AST/../../include/clang/Basic/Attr.td' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\AST\undocumented-attrs.cpp'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\AST\undocumented-attrs.cpp:13:13: error: CHECK-NEXT: is not on the line after the previous match
# | CHECK-NEXT: AnalyzerNoReturn
# |             ^
# | <stdin>:8:1: note: 'next' match was here
# | AnalyzerNoReturn
# | ^
# | <stdin>:5:8: note: previous match ended here
# | Aligned
# |        ^
# | <stdin>:6:1: note: non-matching line after previous match is here
# | AnalyzeAsClass
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\AST\undocumented-attrs.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: Undocumented attributes: 
# |            2: AcquiredAfter 
# |            3: AcquiredBefore 
# |            4: Alias 
# |            5: Aligned 
# | next:13'0           {   search range start (exclusive)
# |            6: AnalyzeAsClass 
# |            7: AnalyzeAsMethod 
# |            8: AnalyzerNoReturn 
# | next:13'1     !~~~~~~~~~~~~~~~   error: match on wrong line
# |            9: ArcWeakrefUnavailable 
# |           10: AvailableOnlyInDefaultEvalMethod 
# |           11: Blocks 
# |           12: CDecl 
# |           13: CFAuditedTransfer 
# |            .
# |            .
# |            .
# |           82: VectorSize 
# |           83: Visibility 
# |           84: WeakImport 
# |           85: WeakRef 
# |           86: WorkGroupSizeHint 
# |           87: Total: 85 
# | next:13'2               } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.Misc/pragma-attribute-supported-attributes-list.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang-tblgen.exe -gen-clang-test-pragma-attribute-supported-attributes -IC:\_work\llvm-project\llvm-project\clang/include C:\_work\llvm-project\llvm-project\clang/include/clang/Basic/Attr.td -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\Misc\pragma-attribute-supported-attributes-list.test
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang-tblgen.exe' -gen-clang-test-pragma-attribute-supported-attributes '-IC:\_work\llvm-project\llvm-project\clang/include' 'C:\_work\llvm-project\llvm-project\clang/include/clang/Basic/Attr.td' -o -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\Misc\pragma-attribute-supported-attributes-list.test'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\Misc\pragma-attribute-supported-attributes-list.test:18:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: Annotate ()
# |                ^
# | <stdin>:16:1: note: 'next' match was here
# | Annotate ()
# | ^
# | <stdin>:13:41: note: previous match ended here
# | AlwaysInline (SubjectMatchRule_function)
# |                                         ^
# | <stdin>:14:1: note: non-matching line after previous match is here
# | AnalyzeAsClass (SubjectMatchRule_record)
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\Misc\pragma-attribute-supported-attributes-list.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |            8: AbiTag (SubjectMatchRule_record_not_is_union, SubjectMatchRule_variable, SubjectMatchRule_function, SubjectMatchRule_namespace) 
# |            9: AcquireHandle (SubjectMatchRule_function, SubjectMatchRule_type_alias, SubjectMatchRule_variable_is_parameter) 
# |           10: Alias (SubjectMatchRule_function, SubjectMatchRule_variable_is_global) 
# |           11: AlignValue (SubjectMatchRule_variable, SubjectMatchRule_type_alias) 
# |           12: AlwaysDestroy (SubjectMatchRule_variable) 
# |           13: AlwaysInline (SubjectMatchRule_function) 
# | next:18'0                                            {   search range start (exclusive)
# |           14: AnalyzeAsClass (SubjectMatchRule_record) 
# |           15: AnalyzeAsMethod (SubjectMatchRule_function_is_member) 
# |           16: Annotate () 
# | next:18'1     !~~~~~~~~~~   error: match on wrong line
# |           17: AnyX86NoCfCheck (SubjectMatchRule_hasType_functionType) 
# |           18: ArcWeakrefUnavailable (SubjectMatchRule_objc_interface) 
# |           19: ArmBuiltinAlias (SubjectMatchRule_function) 
# |           20: AssumeAligned (SubjectMatchRule_objc_method, SubjectMatchRule_function) 
# |           21: Availability ((SubjectMatchRule_record, SubjectMatchRule_enum, SubjectMatchRule_enum_constant, SubjectMatchRule_field, SubjectMatchRule_function, SubjectMatchRule_namespace, SubjectMatchRule_objc_category, SubjectMatchRule_objc_implementation, SubjectMatchRule_objc_interface, SubjectMatchRule_objc_method, SubjectMatchRule_objc_property, SubjectMatchRule_objc_protocol, SubjectMatchRule_record, SubjectMatchRule_type_alias, SubjectMatchRule_variable)) 
# |            .
# |            .
# |            .
# |          239: WebAssemblyImportName (SubjectMatchRule_function) 
# |          240: WorkGroupSizeHint (SubjectMatchRule_function) 
# |          241: XRayInstrument (SubjectMatchRule_function, SubjectMatchRule_objc_method) 
# |          242: XRayLogArgs (SubjectMatchRule_function, SubjectMatchRule_objc_method) 
# |          243: ZeroCallUsedRegs (SubjectMatchRule_function) 
# |          244: End of supported attributes. 
# | next:18'2                                  } 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/196272


More information about the cfe-commits mailing list