[clang-tools-extra] Update clang tidy Contributing guide (PR #106672)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 30 09:00:00 PDT 2024


AaronBallman wrote:

> From another pull #106675, why is this failing the build-bot? Any ideas? Do I have to create a new PR just to fix this? @AaronBallman
> 
> ```
> -- Build files have been written to: /home/runner/work/llvm-project/llvm-project/clang-tools-extra-build
> ninja: Entering directory `clang-tools-extra-build'
> [1/2] Generating man Sphinx documentation for clang-tools into "/home/runner/work/llvm-project/llvm-project/clang-tools-extra-build/tools/clang/tools/extra/docs/man"
> FAILED: tools/clang/tools/extra/docs/CMakeFiles/docs-clang-tools-man /home/runner/work/llvm-project/llvm-project/clang-tools-extra-build/tools/clang/tools/extra/docs/CMakeFiles/docs-clang-tools-man 
> cd /home/runner/work/llvm-project/llvm-project/clang-tools-extra-build/tools/clang/tools/extra/docs && /usr/local/bin/cmake -E env /opt/hostedtoolcache/Python/3.11.9/x64/bin/sphinx-build -b man -d /home/runner/work/llvm-project/llvm-project/clang-tools-extra-build/tools/clang/tools/extra/docs/_doctrees-clang-tools-man -q -t builder-man -D version=20 -D release=20.0.0git -tPreRelease -W /home/runner/work/llvm-project/llvm-project/clang-tools-extra/docs /home/runner/work/llvm-project/llvm-project/clang-tools-extra-build/tools/clang/tools/extra/docs/man
> 
> Warning, treated as error:
> 
> Warning, treated as error:
> /home/runner/work/llvm-project/llvm-project/clang-tools-extra/docs/clang-tidy/Contributing.rst:342:Error in "code-block" directive:
> maximum 1 argument(s) allowed, 8 supplied.
> 
> .. code-block:: console
>   clang-query> let c1 cxxRecordDecl()
>   clang-query> match c1
> [2/2] Generating html Sphinx documentation for clang-tools into "/home/runner/work/llvm-project/llvm-project/clang-tools-extra-build/tools/clang/tools/extra/docs/html"
> FAILED: tools/clang/tools/extra/docs/CMakeFiles/docs-clang-tools-html /home/runner/work/llvm-project/llvm-project/clang-tools-extra-build/tools/clang/tools/extra/docs/CMakeFiles/docs-clang-tools-html 
> cd /home/runner/work/llvm-project/llvm-project/clang-tools-extra-build/tools/clang/tools/extra/docs && /usr/local/bin/cmake -E env /opt/hostedtoolcache/Python/3.11.9/x64/bin/sphinx-build -b html -d /home/runner/work/llvm-project/llvm-project/clang-tools-extra-build/tools/clang/tools/extra/docs/_doctrees-clang-tools-html -q -t builder-html -D version=20 -D release=20.0.0git -tPreRelease -W /home/runner/work/llvm-project/llvm-project/clang-tools-extra/docs /home/runner/work/llvm-project/llvm-project/clang-tools-extra-build/tools/clang/tools/extra/docs/html
> 
> Warning, treated as error:
> /home/runner/work/llvm-project/llvm-project/clang-tools-extra/docs/clang-tidy/Contributing.rst:342:Error in "code-block" directive:
> maximum 1 argument(s) allowed, 8 supplied.
> 
> .. code-block:: console
>   clang-query> let c1 cxxRecordDecl()
>   clang-query> match c1
> ninja: build stopped: subcommand failed.
> ```

Sorry for missing that before landing, I'll fix it up.

https://github.com/llvm/llvm-project/pull/106672


More information about the cfe-commits mailing list