[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:36 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.
+  Transforms make_optional, make_pair, and make_tuple into equivalent 
----------------
EugeneZelenko wrote:

Single sentence is enough.

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


More information about the cfe-commits mailing list