================
@@ -205,6 +214,16 @@ Changes in existing checks
- Added support for analyzing function parameters with the
`AnalyzeParameters`
option.
+- Improved :doc:`modernize-make-shared
+ <clang-tidy/checks/modernize/make-shared>` check by adding a new option
+ ``MakeSmartPtrType`` to specify the smart pointer type to match, with a
+ default value of ``::std::shared_ptr``.
+
+- Improved :doc:`modernize-make-unique
+ <clang-tidy/checks/modernize/make-unique>` check by adding a new option
+ ``MakeSmartPtrType`` to specify the smart pointer type to match, with a
+ default value of ``::std::unique_ptr``.
----------------
EugeneZelenko wrote:
```suggestion
`MakeSmartPtrType` to specify the smart pointer type to match.
```
https://github.com/llvm/llvm-project/pull/117529
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits