[PATCH] D156438: [Docs] Fix code-blocks missing colon

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 27 08:00:39 PDT 2023


rogfer01 created this revision.
Herald added a reviewer: aaron.ballman.
Herald added subscribers: PiotrZSL, carlosgalvezp.
Herald added a reviewer: njames93.
Herald added a project: All.
rogfer01 requested review of this revision.
Herald added projects: clang, LLVM, clang-tools-extra.
Herald added subscribers: cfe-commits, llvm-commits.

I was reading ORCv2 HTML documentation and I found the text mentioned examples that were not present. Turns out there were some syntax issues in the reStructuedText file that prevented rendering them.

I did a grep through the rest of the docs and I found a few other instances of the problem, including missing newlines.

I was pleased to discover that clang attributes  `nodiscard` / `warn_unused_result` had a couple useful example that had never been rendered!


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156438

Files:
  clang-tools-extra/docs/clang-tidy/checks/bugprone/bad-signal-to-kill-thread.rst
  clang-tools-extra/docs/clang-tidy/checks/bugprone/spuriously-wake-up-functions.rst
  clang-tools-extra/docs/clang-tidy/checks/concurrency/thread-canceltype-asynchronous.rst
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/DiagnosticGroups.td
  llvm/docs/ORCv2.rst

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156438.544779.patch
Type: text/x-patch
Size: 6301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230727/bfd261e7/attachment.bin>


More information about the llvm-commits mailing list