forked from OSchip/llvm-project
Fix 45129: Incorrect generated configuration modernize-make-shared.IncludeStyle
This commit is contained in:
parent
1962bc1dfb
commit
dcba401a39
|
@ -54,7 +54,7 @@ MakeSmartPtrCheck::MakeSmartPtrCheck(StringRef Name,
|
|||
IgnoreMacros(Options.getLocalOrGlobal("IgnoreMacros", true)) {}
|
||||
|
||||
void MakeSmartPtrCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {
|
||||
Options.store(Opts, "IncludeStyle", IncludeStyle);
|
||||
Options.store(Opts, "IncludeStyle", utils::IncludeSorter::toString(IncludeStyle));
|
||||
Options.store(Opts, "MakeSmartPtrFunctionHeader", MakeSmartPtrFunctionHeader);
|
||||
Options.store(Opts, "MakeSmartPtrFunction", MakeSmartPtrFunctionName);
|
||||
Options.store(Opts, "IgnoreMacros", IgnoreMacros);
|
||||
|
|
Loading…
Reference in New Issue