From 4efccb6fbf6df2b2446c8eef653451ca05cc7e19 Mon Sep 17 00:00:00 2001 From: Mike Crowe Date: Thu, 29 Jun 2023 15:37:45 +0100 Subject: [PATCH] README: Add link to merged clang-tidy check A much-improved version of the main clang-tidy-fmt check for converting printf and fprintf has landed in upstream LLVM. It converts to std::print by default, but can be configured to convert to fmt::print instead. It makes more sense for the README to point to that version instead now. --- README.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 8610da5488cc..f51fefab7444 100644 --- a/README.rst +++ b/README.rst @@ -295,9 +295,12 @@ or the bloat test:: Migrating code -------------- -`clang-tidy-fmt `_ provides clang -tidy checks for converting occurrences of ``printf`` and ``fprintf`` to -``fmt::print``. +`clang-tidy `_ v17 (not yet +released) provides the `modernize-use-std-print +`_ +check that is capable of converting occurrences of ``printf`` and +``fprintf`` to ``fmt::print`` if configured to do so. (By default it +converts to ``std::print``.) Projects using this library ---------------------------