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

via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 11 13:01:35 PDT 2025


================
@@ -124,6 +124,12 @@ New checks
   pointer and store it as class members without handle the copy and move
   constructors and the assignments.
 
+- New :doc:`modernize-make-direct <clang-tidy/checks/modernize/make-direct>` check.
+
+  Converts std::make_* function calls to direct constructor calls using CTAD.
----------------
EugeneZelenko wrote:

```suggestion
  Converts ``std::make_*`` function calls to direct constructor calls using CTAD.
```

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


More information about the cfe-commits mailing list