This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Improve documentation for modernize-use-std-print check
ClosedPublic

Authored by mikecrowe on Jun 29 2023, 1:56 PM.

Details

Summary

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().

Diff Detail

Event Timeline

mikecrowe created this revision.Jun 29 2023, 1:56 PM
Herald added a project: Restricted Project. · View Herald Transcript
mikecrowe requested review of this revision.Jun 29 2023, 1:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2023, 1:56 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
PiotrZSL accepted this revision.Jun 29 2023, 2:00 PM
This revision is now accepted and ready to land.Jun 29 2023, 2:00 PM