[clang-tools-extra] [clang-doc] Avoid merging into default Info types (PR #191644)

via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 11 10:14:01 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 3187 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-doc/basic-project.mustache.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp && mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/build
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp
# note: command had no output on stdout or stderr
# executed command: mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/build
# note: command had no output on stdout or stderr
# RUN: at line 2
sed 's|$test_dir|/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc|g' /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/build/compile_commands.json
# executed command: sed 's|$test_dir|/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc|g' /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/database_template.json
# note: command had no output on stdout or stderr
# RUN: at line 4
clang-doc --format=html --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs --executor=all-TUs /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/build/compile_commands.json
# executed command: clang-doc --format=html --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs --executor=all-TUs /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/build/compile_commands.json
# .---command stdout------------
# | Emiting docs in html format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 5 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | [1/3] Processing file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
# | [2/3] Processing file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
# | [3/3] Processing file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
# `-----------------------------
# RUN: at line 5
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/html/GlobalNamespace/_ZTV5Shape.html -check-prefix=HTML-SHAPE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/html/GlobalNamespace/_ZTV5Shape.html -check-prefix=HTML-SHAPE
# note: command had no output on stdout or stderr
# RUN: at line 6
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/html/GlobalNamespace/_ZTV10Calculator.html -check-prefix=HTML-CALC
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/html/GlobalNamespace/_ZTV10Calculator.html -check-prefix=HTML-CALC
# note: command had no output on stdout or stderr
# RUN: at line 7
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/html/GlobalNamespace/_ZTV9Rectangle.html -check-prefix=HTML-RECTANGLE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/html/GlobalNamespace/_ZTV9Rectangle.html -check-prefix=HTML-RECTANGLE
# note: command had no output on stdout or stderr
# RUN: at line 8
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/html/GlobalNamespace/_ZTV6Circle.html -check-prefix=HTML-CIRCLE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/html/GlobalNamespace/_ZTV6Circle.html -check-prefix=HTML-CIRCLE
# note: command had no output on stdout or stderr
# RUN: at line 10
clang-doc --format=md_mustache --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs --executor=all-TUs /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/build/compile_commands.json
# executed command: clang-doc --format=md_mustache --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs --executor=all-TUs /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/build/compile_commands.json
# .---command stdout------------
# | Emiting docs in md_mustache format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 5 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | [1/3] Processing file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Rectangle.cpp
# | [2/3] Processing file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Circle.cpp
# | [3/3] Processing file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/Inputs/basic-project/src/Calculator.cpp
# `-----------------------------
# RUN: at line 11
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/md/all_files.md -check-prefixes=MD-ALL-FILES
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/md/all_files.md -check-prefixes=MD-ALL-FILES
# note: command had no output on stdout or stderr
# RUN: at line 12
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/md/index.md -check-prefixes=MD-INDEX
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/md/index.md -check-prefixes=MD-INDEX
# note: command had no output on stdout or stderr
# RUN: at line 13
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/md/GlobalNamespace/_ZTV5Shape.md -check-prefixes=MD-SHAPE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/md/GlobalNamespace/_ZTV5Shape.md -check-prefixes=MD-SHAPE
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test:648:11: error: MD-SHAPE: expected string not found in input
# | MD-SHAPE: ### ~Shape
# |           ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/md/GlobalNamespace/_ZTV5Shape.md:36:46: note: scanning from here
# | **return** double The perimeter of the shape.
# |                                              ^
# | 
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/basic-project.mustache.test.tmp/docs/md/GlobalNamespace/_ZTV5Shape.md
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           31:  
# |           32: **brief** Calculates the perimeter of the shape. 
# |           33:  
# |           34:  
# |           35:  
# |           36: **return** double The perimeter of the shape. 
# | check:648                                                  X error: no match found
# |           37:  
# | check:648     ~
# | >>>>>>
# `-----------------------------
# 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/191644


More information about the cfe-commits mailing list