[clang-tools-extra] [clang-tidy] Add modernize-make-direct check (PR #118120)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 11 13:02:57 PDT 2025


================
@@ -125,6 +126,8 @@ class ModernizeModule : public ClangTidyModule {
     CheckFactories.registerCheck<UseUncaughtExceptionsCheck>(
         "modernize-use-uncaught-exceptions");
     CheckFactories.registerCheck<UseUsingCheck>("modernize-use-using");
+    CheckFactories.registerCheck<MakeFunctionToDirectCheck>(
+        "modernize-make-direct");
----------------
vbvictor wrote:

Please format alphabetically

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


More information about the cfe-commits mailing list