[clang] [clang-tools-extra] [llvm] With semantics label (PR #233886)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 20 15:00:34 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 62134 tests passed
* 2161 tests skipped
* 3 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang Tools
<details>
<summary>Clang Tools.clang-tidy/checkers/bugprone/unchecked-optional-access.cpp</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/../test/clang-tidy/check_clang_tidy.py /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/unchecked-optional-access.cpp bugprone-unchecked-optional-access /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unchecked-optional-access.cpp.tmp -- -- -I /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/unchecked-optional-access
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/unchecked-optional-access.cpp bugprone-unchecked-optional-access /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unchecked-optional-access.cpp.tmp -- -- -I /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/unchecked-optional-access
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks', '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unchecked-optional-access.cpp.tmp.cpp', '-fix', '--checks=-*,bugprone-unchecked-optional-access', '--config={}', '--', '-I', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/unchecked-optional-access', '-std=c++11', '-nostdinc++', '-isystem', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std']...
# | clang-tidy --experimental-custom-checks /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unchecked-optional-access.cpp.tmp.cpp -fix --checks=-*,bugprone-unchecked-optional-access --config={} -- -I /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/unchecked-optional-access -std=c++11 -nostdinc++ -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std failed:
# | 6 warnings and 2 errors generated.
# | Error while processing /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unchecked-optional-access.cpp.tmp.cpp.
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unchecked-optional-access.cpp.tmp.cpp:502:36: error: no template named 'StdNamedOptional' [clang-diagnostic-error]
# | 502 | void std_named_emplace_then_access(StdNamedOptional<int> opt) {
# | | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unchecked-optional-access.cpp.tmp.cpp:514:34: error: no template named 'StdNamedOptional' [clang-diagnostic-error]
# | 514 | void std_named_reset_then_access(StdNamedOptional<int> opt) {
# | | ^
# | Suppressed 6 warnings (6 with check filters).
# | Found compiler errors, but -fix-errors was not specified.
# | Fixes have NOT been applied.
# |
# | Found compiler error(s).
# |
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 576, in <module>
# | main()
# | ~~~~^^
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 572, in main
# | CheckRunner(args, extra_args).run()
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 430, in run
# | clang_tidy_output = self.run_clang_tidy()
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 293, in run_clang_tidy
# | clang_tidy_output = try_run(args)
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 68, in try_run
# | process_output = subprocess.check_output(args, stderr=subprocess.STDOUT).decode(
# | ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "/usr/lib/python3.14/subprocess.py", line 473, in check_output
# | return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# | ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | **kwargs).stdout
# | ^^^^^^^^^
# | File "/usr/lib/python3.14/subprocess.py", line 578, in run
# | raise CalledProcessError(retcode, process.args,
# | output=stdout, stderr=stderr)
# | subprocess.CalledProcessError: Command '['clang-tidy', '--experimental-custom-checks', '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/unchecked-optional-access.cpp.tmp.cpp', '-fix', '--checks=-*,bugprone-unchecked-optional-access', '--config={}', '--', '-I', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/Inputs/unchecked-optional-access', '-std=c++11', '-nostdinc++', '-isystem', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std']' returned non-zero exit status 1.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
### Clang
<details>
<summary>Clang.AST/undocumented-attrs.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-tblgen -gen-clang-attr-undocumented-list -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/../../include/ /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/../../include/clang/Basic/Attr.td -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/undocumented-attrs.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-tblgen -gen-clang-attr-undocumented-list -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/../../include/ /home/gha/actions-runner/_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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/AST/undocumented-attrs.cpp
# .---command stderr------------
# | /home/gha/actions-runner/_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: /home/gha/actions-runner/_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
# | .
# | .
# | .
# | 81: VectorSize
# | 82: Visibility
# | 83: WeakImport
# | 84: WeakRef
# | 85: WorkGroupSizeHint
# | 86: Total: 84
# | 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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-tblgen -gen-clang-test-pragma-attribute-supported-attributes -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Basic/Attr.td -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/pragma-attribute-supported-attributes-list.test
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-tblgen -gen-clang-test-pragma-attribute-supported-attributes -I/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Basic/Attr.td -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/pragma-attribute-supported-attributes-list.test
# .---command stderr------------
# | /home/gha/actions-runner/_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: /home/gha/actions-runner/_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))
# | .
# | .
# | .
# | 238: WebAssemblyImportName (SubjectMatchRule_function, SubjectMatchRule_variable_is_global)
# | 239: WorkGroupSizeHint (SubjectMatchRule_function)
# | 240: XRayInstrument (SubjectMatchRule_function, SubjectMatchRule_objc_method)
# | 241: XRayLogArgs (SubjectMatchRule_function, SubjectMatchRule_objc_method)
# | 242: ZeroCallUsedRegs (SubjectMatchRule_function)
# | 243: 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/233886
More information about the cfe-commits
mailing list