[PATCH] D149280: [clang-tidy] Add modernize-printf-to-std-print check

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 24 09:37:34 PDT 2023


Eugene.Zelenko added a comment.

In D149280#4446591 <https://reviews.llvm.org/D149280#4446591>, @mikecrowe wrote:

> @Eugene.Zelenko,
> I will make the documentation changes you've suggested, but I can't say I really understand which document elements require single backticks and which require dual backticks. https://llvm.org/docs/SphinxQuickstartTemplate.html seems to imply that single backticks are only used for links and double backticks are used for monospace, but it's not completely clear. Most of the existing documentation seems to be consistent with what you've suggested though.

In short: double back-ticks are for language constructs. Single - for command-line options, options and their values.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149280/new/

https://reviews.llvm.org/D149280



More information about the cfe-commits mailing list