[all-commits] [llvm/llvm-project] 8fdbc8: [clang-tidy] Improve documentation for modernize-u...

Mike Crowe via All-commits all-commits at lists.llvm.org
Sat Jul 1 02:27:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fdbc8712c5b65617331b3de43bedd302e9cdbc1
      https://github.com/llvm/llvm-project/commit/8fdbc8712c5b65617331b3de43bedd302e9cdbc1
  Author: Mike Crowe <mac at mcrowe.com>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst

  Log Message:
  -----------
  [clang-tidy] Improve documentation for modernize-use-std-print check

Remove incorrect use of double colons so that the code blocks are
rendered correctly to HTML.

Wrap the name of another check in single backticks. Wrap the name of a
macro in double backticks.

Explain that with the default settings the check is only enabled with
C++23 or later standards.

Correct std::string_data() to std::string::data().

Reviewed By: PiotrZSL

Differential Revision: https://reviews.llvm.org/D154151




More information about the All-commits mailing list