[clang-tools-extra] [clang-tidy] New bugprone-unsafe-format-string check (PR #168691)

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 19 08:03:18 PST 2025


================
@@ -308,6 +309,8 @@ class BugproneModule : public ClangTidyModule {
         "bugprone-crtp-constructor-accessibility");
     CheckFactories.registerCheck<UnsafeFunctionsCheck>(
         "bugprone-unsafe-functions");
+    CheckFactories.registerCheck<UnsafeFormatStringCheck>(
----------------
EugeneZelenko wrote:

Should be before `bugprone-unsafe-functions`.

https://github.com/llvm/llvm-project/pull/168691


More information about the cfe-commits mailing list