[clang] Document the [[clang::annotate]] attribute (PR #203303)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 23 05:56:47 PDT 2026
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/57149
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: AST/undocumented-attrs.cpp' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-tblgen -gen-clang-attr-undocumented-list -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/../../include/ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/../../include/clang/Basic/Attr.td -o - | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/undocumented-attrs.cpp
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/clang-tblgen -gen-clang-attr-undocumented-list -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/../../include/ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/../../include/clang/Basic/Attr.td -o -
# note: command had no output on stdout or stderr
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/undocumented-attrs.cpp
# .---command stderr------------
# | [1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/undocumented-attrs.cpp:92:13: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0mCHECK-NEXT: Total: 84
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:84:18: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mWorkGroupSizeHint
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:85:1: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0mTotal: 83
# | [0;1;32m^
[0m# | [0;1;32m[0m
# | Input file: <stdin>
# | Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/clang/test/AST/undocumented-attrs.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | [1m[0m[0;1;30m 1: [0m[1m[0;1;46m[0mUndocumented attributes:[0;1;46m [0m
# | [0;1;32mlabel:8'0 ^~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mlabel:8'1 ^~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 2: [0m[1m[0;1;46m[0mAcquiredAfter[0;1;46m [0m
# | [0;1;32mnext:9 ^~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 3: [0m[1m[0;1;46m[0mAcquiredBefore[0;1;46m [0m
# | [0;1;32mnext:10 ^~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 4: [0m[1m[0;1;46m[0mAlias[0;1;46m [0m
# | [0;1;32mnext:11 ^~~~~
[0m# | [0;1;32m[0m[0;1;30m 5: [0m[1m[0;1;46m[0mAligned[0;1;46m [0m
# | [0;1;32mnext:12 ^~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 6: [0m[1m[0;1;46m[0mAnalyzerNoReturn[0;1;46m [0m
# | [0;1;32mnext:13 ^~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 7: [0m[1m[0;1;46m[0mArcWeakrefUnavailable[0;1;46m [0m
# | [0;1;32mnext:14 ^~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 8: [0m[1m[0;1;46m[0mAvailableOnlyInDefaultEvalMethod[0;1;46m [0m
# | [0;1;32mnext:15 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 9: [0m[1m[0;1;46m[0mBlocks[0;1;46m [0m
# | [0;1;32mnext:16 ^~~~~~
[0m# | [0;1;32m[0m[0;1;30m 10: [0m[1m[0;1;46m[0mCDecl[0;1;46m [0m
# | [0;1;32mnext:17 ^~~~~
[0m# | [0;1;32m[0m[0;1;30m 11: [0m[1m[0;1;46m[0mCFAuditedTransfer[0;1;46m [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/203303
More information about the cfe-commits
mailing list