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

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 13:06:49 PST 2024


================
@@ -22,7 +22,8 @@ namespace clang::tidy::modernize {
 class MakeSmartPtrCheck : public ClangTidyCheck {
 public:
   MakeSmartPtrCheck(StringRef Name, ClangTidyContext *Context,
-                    StringRef MakeSmartPtrFunctionName);
+                    StringRef MakeSmartPtrFunctionName,
+                    StringRef DefaultSmartPtrType);
----------------
5chmidti wrote:

The name of this parameter differs from the name in the definition.

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


More information about the cfe-commits mailing list