[clang-tools-extra] [clang-doc]: Enable horizontal wrapping on longer function definitions (PR #181417)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 13 14:25:07 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 3103 tests passed
* 7 tests skipped
* 9 tests 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
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/basic-project.mustache.test:80:13: error: HTML-SHAPE: expected string not found in input
# | HTML-SHAPE: <pre><code class="language-cpp code-clang-doc">double area ()</code></pre>
# | ^
# | /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:75:81: note: scanning from here
# | <div id="12896F9255F880ECD4A6482CCFA58B238FA2CC49" class="delimiter-container">
# | ^
# | /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:76:2: note: possible intended match here
# | <pre><code class="nohighlight code-clang-doc"><span class="hljs-type">double</span> <span class="hljs-title">area</span> ()</code></pre>
# | ^
# |
# | 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 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:
# | <<<<<<
# | .
# | .
# | .
# | 70: </div>
# | 71: </div>
# | 72: </section>
# | 73: <section id="PublicMethods" class="section-container">
# | 74: <h2>Public Methods</h2>
# | 75: <div id="12896F9255F880ECD4A6482CCFA58B238FA2CC49" class="delimiter-container">
# | check:80'0 X error: no match found
# | 76: <pre><code class="nohighlight code-clang-doc"><span class="hljs-type">double</span> <span class="hljs-title">area</span> ()</code></pre>
# | check:80'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:80'1 ? possible intended match
# | 77: <div class="doc-card">
# | check:80'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 78: <div class="nested-delimiter-container">
# | check:80'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 79: <p> Calculates the area of the shape.</p>
# | check:80'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 80: </div>
# | check:80'0 ~~~~~~~~
# | 81: <div class="nested-delimiter-container">
# | check:80'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang Tools.clang-doc/comments-in-macros.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/comments-in-macros.cpp.tmp && mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/comments-in-macros.cpp.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/comments-in-macros.cpp.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/comments-in-macros.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 4
clang-doc --format=md --doxygen --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/comments-in-macros.cpp.tmp --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp
# executed command: clang-doc --format=md --doxygen --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/comments-in-macros.cpp.tmp --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp
# .---command stdout------------
# | Emiting docs in md format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 2 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp"
# | No compilation database found in /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc or any parent directory
# | fixed-compilation-database: Error while opening fixed database: No such file or directory
# | json-compilation-database: Error while opening JSON database: No such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 5
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/comments-in-macros.cpp.tmp/GlobalNamespace/MyClass.md --check-prefix=MD-MYCLASS-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp --check-prefix=MD-MYCLASS-LINE
# 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/comments-in-macros.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/comments-in-macros.cpp.tmp/GlobalNamespace/MyClass.md --check-prefix=MD-MYCLASS
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp --check-prefix=MD-MYCLASS
# note: command had no output on stdout or stderr
# RUN: at line 8
clang-doc --format=html --doxygen --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/comments-in-macros.cpp.tmp --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp
# executed command: clang-doc --format=html --doxygen --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/comments-in-macros.cpp.tmp --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp
# .---command stdout------------
# | Emiting docs in html format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 2 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp"
# | No compilation database found in /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc or any parent directory
# | fixed-compilation-database: Error while opening fixed database: No such file or directory
# | json-compilation-database: Error while opening JSON database: No such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 9
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/comments-in-macros.cpp.tmp/html/GlobalNamespace/_ZTV7MyClass.html --check-prefix=HTML-MYCLASS-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp --check-prefix=HTML-MYCLASS-LINE
# note: command had no output on stdout or stderr
# RUN: at line 10
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/comments-in-macros.cpp.tmp/html/GlobalNamespace/_ZTV7MyClass.html --check-prefix=HTML-MYCLASS
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp --check-prefix=HTML-MYCLASS
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp:25:18: error: HTML-MYCLASS: expected string not found in input
# | // HTML-MYCLASS: <pre><code class="language-cpp code-clang-doc">int Add (int a, int b)</code></pre>
# | ^
# | <stdin>:1:1: note: scanning from here
# | <!DOCTYPE html>
# | ^
# | <stdin>:62:2: note: possible intended match here
# | <pre><code class="nohighlight code-clang-doc"><span class="hljs-type">int</span> <span class="hljs-title">Add</span> (<span class="hljs-type">int</span> a, <span class="hljs-type">int</span> b)</code></pre>
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/comments-in-macros.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: <!DOCTYPE html>
# | check:25'0 X~~~~~~~~~~~~~~~ error: no match found
# | 2: <html lang="en-US">
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~
# | 3: <head>
# | check:25'0 ~~~~~~~
# | 4: <meta charset="utf-8"/>
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: <title>MyClass</title>
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 6: <link rel="stylesheet" type="text/css" href="../clang-doc-mustache.css"/>
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 57: </div>
# | check:25'0 ~~~~~~~~
# | 58: </section>
# | check:25'0 ~~~~~~~~~~~~
# | 59: <section id="PublicMethods" class="section-container">
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 60: <h2>Public Methods</h2>
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~
# | 61: <div id="7AD0598441836982C28A6E4C00FCA52595BEA5AD" class="delimiter-container">
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 62: <pre><code class="nohighlight code-clang-doc"><span class="hljs-type">int</span> <span class="hljs-title">Add</span> (<span class="hljs-type">int</span> a, <span class="hljs-type">int</span> b)</code></pre>
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:25'1 ? possible intended match
# | 63: <div class="doc-card">
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 64: <div class="nested-delimiter-container">
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 65: <p> Declare a method to calculate the sum of two numbers</p>
# | check:25'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 66: </div>
# | check:25'0 ~~~~~~~~
# | 67: </div>
# | check:25'0 ~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang Tools.clang-doc/conversion_function.cpp</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/conversion_function.cpp.tmp && mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/conversion_function.cpp.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/conversion_function.cpp.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/conversion_function.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 3
clang-doc --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/conversion_function.cpp.tmp --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/conversion_function.cpp
# executed command: clang-doc --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/conversion_function.cpp.tmp --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/conversion_function.cpp
# .---command stdout------------
# | Emiting docs in yaml format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 2 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/conversion_function.cpp"
# | No compilation database found in /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc or any parent directory
# | fixed-compilation-database: Error while opening fixed database: No such file or directory
# | json-compilation-database: Error while opening JSON database: No such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 4
find /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/conversion_function.cpp.tmp/ -regex ".*/[0-9A-F]*.yaml" -exec cat {} ";" | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/conversion_function.cpp --check-prefix=CHECK-YAML
# executed command: find /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/conversion_function.cpp.tmp/ -regex '.*/[0-9A-F]*.yaml' -exec cat '{}' ';'
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/conversion_function.cpp --check-prefix=CHECK-YAML
# note: command had no output on stdout or stderr
# RUN: at line 6
clang-doc --format=html --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/conversion_function.cpp.tmp --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/conversion_function.cpp
# 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/conversion_function.cpp.tmp --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/conversion_function.cpp
# .---command stdout------------
# | Emiting docs in html format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 2 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/conversion_function.cpp"
# | No compilation database found in /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc or any parent directory
# | fixed-compilation-database: Error while opening fixed database: No such file or directory
# | json-compilation-database: Error while opening JSON database: No such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 7
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/conversion_function.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/conversion_function.cpp.tmp/html/GlobalNamespace/_ZTV8MyStruct.html --check-prefix=CHECK-HTML
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/conversion_function.cpp --check-prefix=CHECK-HTML
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/conversion_function.cpp:18:16: error: CHECK-HTML: expected string not found in input
# | // CHECK-HTML: <pre><code class="language-cpp code-clang-doc">T operator T ()</code></pre>
# | ^
# | <stdin>:70:81: note: scanning from here
# | <div id="886E373D5B573D51EF979A3122BE7F43C9B6DE6C" class="delimiter-container">
# | ^
# | <stdin>:71:2: note: possible intended match here
# | <pre><code class="nohighlight code-clang-doc"><span class="hljs-type">T</span> <span class="hljs-title">operator T</span> ()</code></pre>
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/conversion_function.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 65: </div>
# | 66: </div>
# | 67: </section>
# | 68: <section id="PublicMethods" class="section-container">
# | 69: <h2>Public Methods</h2>
# | 70: <div id="886E373D5B573D51EF979A3122BE7F43C9B6DE6C" class="delimiter-container">
# | check:18'0 X error: no match found
# | 71: <pre><code class="nohighlight code-clang-doc"><span class="hljs-type">T</span> <span class="hljs-title">operator T</span> ()</code></pre>
# | check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:18'1 ? possible intended match
# | 72: </div>
# | check:18'0 ~~~~~~~~
# | 73: </section>
# | check:18'0 ~~~~~~~~~~~~
# | 74: </div>
# | check:18'0 ~~~~~~~~
# | 75: </div>
# | check:18'0 ~~~~~~~~
# | 76: </main>
# | check:18'0 ~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang Tools.clang-doc/json/class.cpp</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/json/Output/class.cpp.tmp && mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/class.cpp.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/class.cpp.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/json/Output/class.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
clang-doc --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/class.cpp.tmp --format=html --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/class.cpp
# executed command: clang-doc --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/class.cpp.tmp --format=html --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/class.cpp
# .---command stdout------------
# | Emiting docs in html format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 4 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/class.cpp"
# | No compilation database found in /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json or any parent directory
# | fixed-compilation-database: Error while opening fixed database: No such file or directory
# | json-compilation-database: Error while opening JSON database: No such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 3
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/class.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/class.cpp.tmp/json/GlobalNamespace/_ZTV7MyClass.json
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/class.cpp
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/class.cpp:113:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: "Params": [
# | ^
# | <stdin>:81:2: note: 'next' match was here
# | "Params": [
# | ^
# | <stdin>:79:19: note: previous match ended here
# | "IsClass": false,
# | ^
# | <stdin>:80:1: note: non-matching line after previous match is here
# | "IsLong": false,
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/class.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 76: ]
# | 77: },
# | 78: "InfoType": "friend",
# | 79: "IsClass": false,
# | 80: "IsLong": false,
# | 81: "Params": [
# | next:113 !~~~~~~~~~~ error: match on wrong line
# | 82: {
# | 83: "End": true,
# | 84: "Name": "",
# | 85: "Type": {
# | 86: "Name": "int",
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang Tools.clang-doc/json/function-requires.cpp</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/json/Output/function-requires.cpp.tmp && mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/function-requires.cpp.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/function-requires.cpp.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/json/Output/function-requires.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
clang-doc --extra-arg -std=c++20 --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/function-requires.cpp.tmp --format=json --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/function-requires.cpp
# executed command: clang-doc --extra-arg -std=c++20 --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/function-requires.cpp.tmp --format=json --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/function-requires.cpp
# .---command stdout------------
# | Emiting docs in json format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 1 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/function-requires.cpp"
# | No compilation database found in /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json or any parent directory
# | fixed-compilation-database: Error while opening fixed database: No such file or directory
# | json-compilation-database: Error while opening JSON database: No such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 3
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/function-requires.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/function-requires.cpp.tmp/json/GlobalNamespace/index.json
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/function-requires.cpp
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/function-requires.cpp:18:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: "IsStatic": false,
# | ^
# | <stdin>:60:2: note: 'next' match was here
# | "IsStatic": false,
# | ^
# | <stdin>:58:25: note: previous match ended here
# | "InfoType": "function",
# | ^
# | <stdin>:59:1: note: non-matching line after previous match is here
# | "IsLong": false,
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/function-requires.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 55: "DocumentationFileName": "index",
# | 56: "Functions": [
# | 57: {
# | 58: "InfoType": "function",
# | 59: "IsLong": false,
# | 60: "IsStatic": false,
# | next:18 !~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 61: "Name": "increment",
# | 62: "Params": [
# | 63: {
# | 64: "End": true,
# | 65: "Name": "t",
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang Tools.clang-doc/json/method-template.cpp</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/json/Output/method-template.cpp.tmp && mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/method-template.cpp.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/method-template.cpp.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/json/Output/method-template.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
clang-doc --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/method-template.cpp.tmp --format=json --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/method-template.cpp
# executed command: clang-doc --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/method-template.cpp.tmp --format=json --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/method-template.cpp
# .---command stdout------------
# | Emiting docs in json format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 2 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/method-template.cpp"
# | No compilation database found in /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json or any parent directory
# | fixed-compilation-database: Error while opening fixed database: No such file or directory
# | json-compilation-database: Error while opening JSON database: No such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 3
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/method-template.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/method-template.cpp.tmp/json/GlobalNamespace/_ZTV7MyClass.json
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/method-template.cpp
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/method-template.cpp:13:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: "IsStatic": false,
# | ^
# | <stdin>:62:2: note: 'next' match was here
# | "IsStatic": false,
# | ^
# | <stdin>:60:25: note: previous match ended here
# | "InfoType": "function",
# | ^
# | <stdin>:61:1: note: non-matching line after previous match is here
# | "IsLong": false,
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/method-template.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 57: "Path": "GlobalNamespace",
# | 58: "PublicMethods": [
# | 59: {
# | 60: "InfoType": "function",
# | 61: "IsLong": false,
# | 62: "IsStatic": false,
# | next:13 !~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 63: "Location": {
# | 64: "Filename": "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/method-template.cpp",
# | 65: "LineNumber": 6
# | 66: },
# | 67: "Name": "methodTemplate",
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang Tools.clang-doc/json/namespace.cpp</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/json/Output/namespace.cpp.tmp && mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/namespace.cpp.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/namespace.cpp.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/json/Output/namespace.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
clang-doc --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/namespace.cpp.tmp --format=html --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/namespace.cpp
# executed command: clang-doc --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/namespace.cpp.tmp --format=html --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/namespace.cpp
# .---command stdout------------
# | Emiting docs in html format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 3 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/namespace.cpp"
# | No compilation database found in /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json or any parent directory
# | fixed-compilation-database: Error while opening fixed database: No such file or directory
# | json-compilation-database: Error while opening JSON database: No such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 3
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/json/Output/namespace.cpp.tmp/json/GlobalNamespace/index.json
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/namespace.cpp
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/namespace.cpp:57:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: "IsStatic": false,
# | ^
# | <stdin>:36:2: note: 'next' match was here
# | "IsStatic": false,
# | ^
# | <stdin>:34:25: note: previous match ended here
# | "InfoType": "function",
# | ^
# | <stdin>:35:1: note: non-matching line after previous match is here
# | "IsLong": false,
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/json/namespace.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 31: "Functions": [
# | 32: {
# | 33: "End": true,
# | 34: "InfoType": "function",
# | 35: "IsLong": false,
# | 36: "IsStatic": false,
# | next:57 !~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 37: "Name": "myFunction",
# | 38: "Params": [
# | 39: {
# | 40: "End": true,
# | 41: "Name": "Param",
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang Tools.clang-doc/namespace.cpp</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/namespace.cpp.tmp && mkdir -p /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.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/namespace.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
clang-doc --format=html --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
# 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/namespace.cpp.tmp --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
# .---command stdout------------
# | Emiting docs in html format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 9 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
# | No compilation database found in /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc or any parent directory
# | fixed-compilation-database: Error while opening fixed database: No such file or directory
# | json-compilation-database: Error while opening JSON database: No such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 3
clang-doc --format=md --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
# executed command: clang-doc --format=md --output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
# .---command stdout------------
# | Emiting docs in md format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 9 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp"
# | No compilation database found in /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc or any parent directory
# | fixed-compilation-database: Error while opening fixed database: No such file or directory
# | json-compilation-database: Error while opening JSON database: No such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 4
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/@nonymous_namespace/AnonClass.md -check-prefix=MD-ANON-CLASS-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-ANON-CLASS-LINE
# note: command had no output on stdout or stderr
# RUN: at line 5
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/@nonymous_namespace/AnonClass.md -check-prefix=MD-ANON-CLASS
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-ANON-CLASS
# 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/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/@nonymous_namespace/index.md -check-prefix=MD-ANON-INDEX-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-ANON-INDEX-LINE
# 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/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/@nonymous_namespace/index.md -check-prefix=MD-ANON-INDEX
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-ANON-INDEX
# 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/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/AnotherNamespace/ClassInAnotherNamespace.md -check-prefix=MD-ANOTHER-CLASS-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-ANOTHER-CLASS-LINE
# note: command had no output on stdout or stderr
# RUN: at line 9
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/AnotherNamespace/ClassInAnotherNamespace.md -check-prefix=MD-ANOTHER-CLASS
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-ANOTHER-CLASS
# note: command had no output on stdout or stderr
# RUN: at line 10
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/AnotherNamespace/index.md -check-prefix=MD-ANOTHER-INDEX-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-ANOTHER-INDEX-LINE
# note: command had no output on stdout or stderr
# RUN: at line 11
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/AnotherNamespace/index.md -check-prefix=MD-ANOTHER-INDEX
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-ANOTHER-INDEX
# 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/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/PrimaryNamespace/NestedNamespace/ClassInNestedNamespace.md -check-prefix=MD-NESTED-CLASS-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-NESTED-CLASS-LINE
# 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/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/PrimaryNamespace/NestedNamespace/ClassInNestedNamespace.md -check-prefix=MD-NESTED-CLASS
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-NESTED-CLASS
# note: command had no output on stdout or stderr
# RUN: at line 14
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/PrimaryNamespace/NestedNamespace/index.md -check-prefix=MD-NESTED-INDEX-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-NESTED-INDEX-LINE
# note: command had no output on stdout or stderr
# RUN: at line 15
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/PrimaryNamespace/NestedNamespace/index.md -check-prefix=MD-NESTED-INDEX
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-NESTED-INDEX
# note: command had no output on stdout or stderr
# RUN: at line 16
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/PrimaryNamespace/index.md -check-prefix=MD-PRIMARY-INDEX-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-PRIMARY-INDEX-LINE
# note: command had no output on stdout or stderr
# RUN: at line 17
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/PrimaryNamespace/index.md -check-prefix=MD-PRIMARY-INDEX
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-PRIMARY-INDEX
# note: command had no output on stdout or stderr
# RUN: at line 18
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/PrimaryNamespace/ClassInPrimaryNamespace.md -check-prefix=MD-PRIMARY-CLASS-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-PRIMARY-CLASS-LINE
# note: command had no output on stdout or stderr
# RUN: at line 19
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/PrimaryNamespace/ClassInPrimaryNamespace.md -check-prefix=MD-PRIMARY-CLASS
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-PRIMARY-CLASS
# note: command had no output on stdout or stderr
# RUN: at line 20
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/html/GlobalNamespace/index.html -check-prefix=HTML-GLOBAL-INDEX
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=HTML-GLOBAL-INDEX
# note: command had no output on stdout or stderr
# RUN: at line 21
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/GlobalNamespace/index.md -check-prefix=MD-GLOBAL-INDEX
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-GLOBAL-INDEX
# note: command had no output on stdout or stderr
# RUN: at line 22
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/all_files.md -check-prefix=MD-ALL-FILES
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-ALL-FILES
# note: command had no output on stdout or stderr
# RUN: at line 23
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/index.md -check-prefix=MD-INDEX
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=MD-INDEX
# note: command had no output on stdout or stderr
# RUN: at line 24
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/html/@nonymous_namespace/_ZTVN12_GLOBAL__N_19AnonClassE.html -check-prefix=HTML-ANON-CLASS-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=HTML-ANON-CLASS-LINE
# note: command had no output on stdout or stderr
# RUN: at line 25
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/html/@nonymous_namespace/_ZTVN12_GLOBAL__N_19AnonClassE.html -check-prefix=HTML-ANON-CLASS
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=HTML-ANON-CLASS
# note: command had no output on stdout or stderr
# RUN: at line 26
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/html/@nonymous_namespace/index.html -check-prefix=HTML-ANON-INDEX-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=HTML-ANON-INDEX-LINE
# note: command had no output on stdout or stderr
# RUN: at line 27
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/html/@nonymous_namespace/index.html -check-prefix=HTML-ANON-INDEX
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=HTML-ANON-INDEX
# note: command had no output on stdout or stderr
# RUN: at line 28
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/html/AnotherNamespace/_ZTVN16AnotherNamespace23ClassInAnotherNamespaceE.html -check-prefix=HTML-ANOTHER-CLASS-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=HTML-ANOTHER-CLASS-LINE
# note: command had no output on stdout or stderr
# RUN: at line 29
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/html/AnotherNamespace/_ZTVN16AnotherNamespace23ClassInAnotherNamespaceE.html -check-prefix=HTML-ANOTHER-CLASS
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=HTML-ANOTHER-CLASS
# note: command had no output on stdout or stderr
# RUN: at line 30
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/html/AnotherNamespace/index.html -check-prefix=HTML-ANOTHER-INDEX-LINE
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=HTML-ANOTHER-INDEX-LINE
# note: command had no output on stdout or stderr
# RUN: at line 31
FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/namespace.cpp.tmp/html/AnotherNamespace/index.html -check-prefix=HTML-ANOTHER-INDEX
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp -check-prefix=HTML-ANOTHER-INDEX
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp:234:24: error: HTML-ANOTHER-INDEX: expected string not found in input
# | // HTML-ANOTHER-INDEX: <pre><code class="language-cpp code-clang-doc">void functionInAnotherNamespace ()</code></pre>
# | ^
# | <stdin>:73:7: note: scanning from here
# | </ul>
# | ^
# | <stdin>:80:78: note: possible intended match here
# | <pre><code class="nohighlight code-clang-doc"><span class="hljs-type">void</span> <span class="hljs-title">functionInAnotherNamespace</span> ()</code></pre>
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/namespace.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 68: <li id="A0B9DF11203D84AA749FFDBD229B430038FDB8E0" style="max-height: 40px;">
# | 69: <a href="_ZTVN16AnotherNamespace23ClassInAnotherNamespaceE.html">
# | 70: <pre><code class="language-cpp code-clang-doc">class ClassInAnotherNamespace</code></pre>
# | 71: </a>
# | 72: </li>
# | 73: </ul>
# | check:234'0 X error: no match found
# | 74: </section>
# | check:234'0 ~~~~~~~~~~~~
# | 75: <section id="Functions" class="section-container">
# | check:234'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 76: <h2>Functions</h2>
# | check:234'0 ~~~~~~~~~~~~~~~~~~~~
# | 77: <ul class="class-container">
# | check:234'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 78: <li>
# | check:234'0 ~~~~~~
# | 79: <div id="66CB007FF46A8BBB7BD4761B253E03F100D60692" class="delimiter-container">
# | check:234'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 80: <pre><code class="nohighlight code-clang-doc"><span class="hljs-type">void</span> <span class="hljs-title">functionInAnotherNamespace</span> ()</code></pre>
# | check:234'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:234'1 ? possible intended match
# | 81: <div class="doc-card">
# | check:234'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | 82: <div class="nested-delimiter-container">
# | check:234'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 83: <p> Function in AnotherNamespace</p>
# | check:234'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 84: </div>
# | check:234'0 ~~~~~~~~
# | 85: </div>
# | check:234'0 ~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>Clang Tools.clang-doc/templates.cpp</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/templates.cpp.tmp
# executed command: rm -rf /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp
# executed command: mkdir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp
# note: command had no output on stdout or stderr
# RUN: at line 4
clang-doc --doxygen --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs
# executed command: clang-doc --doxygen --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs
# .---command stdout------------
# | Emiting docs in yaml format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 2 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp"
# | No compilation database found in /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc or any parent directory
# | fixed-compilation-database: Error while opening fixed database: No such file or directory
# | json-compilation-database: Error while opening JSON database: No such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 5
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs/index.yaml | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp --check-prefix=YAML
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs/index.yaml
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp --check-prefix=YAML
# note: command had no output on stdout or stderr
# RUN: at line 7
clang-doc --doxygen --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs --format=md
# executed command: clang-doc --doxygen --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs --format=md
# .---command stdout------------
# | Emiting docs in md format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 2 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp"
# | No compilation database found in /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc or any parent directory
# | fixed-compilation-database: Error while opening fixed database: No such file or directory
# | json-compilation-database: Error while opening JSON database: No such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 8
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs/GlobalNamespace/index.md | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp --check-prefix=MD
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs/GlobalNamespace/index.md
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp --check-prefix=MD
# note: command had no output on stdout or stderr
# RUN: at line 10
clang-doc --doxygen --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs --format=html
# executed command: clang-doc --doxygen --executor=standalone /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp -output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs --format=html
# .---command stdout------------
# | Emiting docs in html format.
# | Mapping decls...
# | Collecting infos...
# | Reducing 2 infos...
# | Generating docs...
# | Generating assets for docs...
# `-----------------------------
# .---command stderr------------
# | Error while trying to load a compilation database:
# | Could not auto-detect compilation database for file "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp"
# | No compilation database found in /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc or any parent directory
# | fixed-compilation-database: Error while opening fixed database: No such file or directory
# | json-compilation-database: Error while opening JSON database: No such file or directory
# | Running without flags.
# `-----------------------------
# RUN: at line 11
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs/json/GlobalNamespace/index.json | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp --check-prefix=JSON
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs/json/GlobalNamespace/index.json
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp --check-prefix=JSON
# note: command had no output on stdout or stderr
# RUN: at line 12
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs/html/GlobalNamespace/_ZTV5tuple.html | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp --check-prefix=HTML-STRUCT
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs/html/GlobalNamespace/_ZTV5tuple.html
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp --check-prefix=HTML-STRUCT
# note: command had no output on stdout or stderr
# RUN: at line 13
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs/html/GlobalNamespace/index.html | FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp --check-prefix=HTML
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-doc/Output/templates.cpp.tmp/docs/html/GlobalNamespace/index.html
# note: command had no output on stdout or stderr
# executed command: FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp --check-prefix=HTML
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp:81:15: error: HTML-NEXT: expected string not found in input
# | // HTML-NEXT: <pre><code class="language-cpp code-clang-doc">void ParamPackFunction (T... args)</code></pre>
# | ^
# | <stdin>:86:89: note: scanning from here
# | <pre><code class="language-cpp code-clang-doc">template <class... T></code></pre>
# | ^
# | <stdin>:99:2: note: possible intended match here
# | <pre><code class="language-cpp code-clang-doc">template <></code></pre>
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 81: <section id="Functions" class="section-container">
# | 82: <h2>Functions</h2>
# | 83: <ul class="class-container">
# | 84: <li>
# | 85: <div id="C483539EE5656429930E3A7603B4A585A94EA5CF" class="delimiter-container">
# | 86: <pre><code class="language-cpp code-clang-doc">template <class... T></code></pre>
# | next:81'0 X error: no match found
# | 87: <pre><code class="nohighlight code-clang-doc"><span class="hljs-type">void</span> <span class="hljs-title">ParamPackFunction</span> (<span class="hljs-type">T...</span> args)</code></pre>
# | next:81'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 88: </div>
# | next:81'0 ~~~~~~~~
# | 89: </li>
# | next:81'0 ~~~~~~~
# | 90: <li>
# | next:81'0 ~~~~~~
# | 91: <div id="0FABA77809D479D77D16A9F75539F53B43C8C4E7" class="delimiter-container">
# | next:81'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 94: <p>Defined at line 84 of file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp</p>
# | next:81'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 95: </div>
# | next:81'0 ~~~~~~~~
# | 96: </li>
# | next:81'0 ~~~~~~~
# | 97: <li>
# | next:81'0 ~~~~~~
# | 98: <div id="55AAAA143A5783A2B4B1C8563AB471F7F95BF81D" class="delimiter-container">
# | next:81'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 99: <pre><code class="language-cpp code-clang-doc">template <></code></pre>
# | next:81'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:81'1 ? possible intended match
# | 100: <pre><code class="nohighlight code-clang-doc"><span class="hljs-type">void</span> <span class="hljs-title">function</span> (<span class="hljs-type">bool</span> x)</code></pre>
# | next:81'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 101: <p>Defined at line 146 of file /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-doc/templates.cpp</p>
# | next:81'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 102: </div>
# | next:81'0 ~~~~~~~~
# | 103: </li>
# | next:81'0 ~~~~~~~
# | 104: <li>
# | next:81'0 ~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/181417
More information about the cfe-commits
mailing list