[clang-tools-extra] [clang-tidy] modernize-make-shared: Add MakeSmartPtrType option (PR #117529)

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 18 07:47:21 PST 2026


================
@@ -39,6 +39,11 @@ Options
    A string specifying the corresponding header of make-shared-ptr function.
    Default is `<memory>`.
 
+.. option:: MakeSmartPtrType
+
+   A string specifying the smart pointer type to match. Default is
+   ``::std::shared_ptr``.
----------------
EugeneZelenko wrote:

```suggestion
   `::std::shared_ptr`.
```

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


More information about the cfe-commits mailing list