[clang-tools-extra] 716eab7 - [clang-tidy][docs] Fix modernize-use-std-print docs (#91069)

via cfe-commits cfe-commits at lists.llvm.org
Sun May 5 08:53:03 PDT 2024


Author: Mike Crowe
Date: 2024-05-05T17:52:59+02:00
New Revision: 716eab783713cc99046c89478c126b1a2e000940

URL: https://github.com/llvm/llvm-project/commit/716eab783713cc99046c89478c126b1a2e000940
DIFF: https://github.com/llvm/llvm-project/commit/716eab783713cc99046c89478c126b1a2e000940.diff

LOG: [clang-tidy][docs] Fix modernize-use-std-print docs (#91069)

The set of functions for the PrintfLikeFunctions and
FprintfLikeFunctions options replaces the default, so remove the word
"extra" from the description which implies that they are in addition to
the default.

Added: 
    

Modified: 
    clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst b/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst
index 9bb691e9d9512e..79648a1104bca2 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst
@@ -118,7 +118,7 @@ Options
 
 .. option:: PrintfLikeFunctions
 
-   A semicolon-separated list of (fully qualified) extra function names to
+   A semicolon-separated list of (fully qualified) function names to
    replace, with the requirement that the first parameter contains the
    printf-style format string and the arguments to be formatted follow
    immediately afterwards. If neither this option nor
@@ -128,7 +128,7 @@ Options
 
 .. option:: FprintfLikeFunctions
 
-   A semicolon-separated list of (fully qualified) extra function names to
+   A semicolon-separated list of (fully qualified) function names to
    replace, with the requirement that the first parameter is retained, the
    second parameter contains the printf-style format string and the
    arguments to be formatted follow immediately afterwards. If neither this


        


More information about the cfe-commits mailing list