[clang-tools-extra] WIP: [clang-tidy] Add SmartPtrName to MakeSmartPtrCheck for flexible … (PR #117529)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 25 07:47:07 PST 2024


================
@@ -46,6 +46,7 @@ MakeSmartPtrCheck::MakeSmartPtrCheck(StringRef Name, ClangTidyContext *Context,
                areDiagsSelfContained()),
       MakeSmartPtrFunctionHeader(
           Options.get("MakeSmartPtrFunctionHeader", "<memory>")),
+      MakeSmartPtrType(Options.get("MakeSmartPtrType", "::std::shared_ptr")),
----------------
PiotrZSL wrote:

this impact also MakeUniqueCheck

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


More information about the cfe-commits mailing list