[all-commits] [llvm/llvm-project] 058d21: [clang-tidy] Use literal block instead of code blo...

Richard Thomson via All-commits all-commits at lists.llvm.org
Wed Jan 19 14:24:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 058d2123792da54ae7460fea0946d2c90a032e1c
      https://github.com/llvm/llvm-project/commit/058d2123792da54ae7460fea0946d2c90a032e1c
  Author: Richard <legalize at xmission.com>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-macro-usage.rst

  Log Message:
  -----------
  [clang-tidy] Use literal block instead of code block (NFC)

I used a C++ code block in check documentation to show example
output from clang-tidy, but since the example output isn't
kosher C++, sphinx didn't like that when it went to syntax
highlight the block.  So switch to a literal block instead
and forego any highlighting.

Fixes build error
<https://lab.llvm.org/buildbot/#/builders/115/builds/21145>




More information about the All-commits mailing list