Fix 45129: Incorrect generated configuration modernize-make-shared.IncludeStyle

This commit is contained in:
Nathan James 2020-03-06 00:07:08 +00:00
parent 1962bc1dfb
commit dcba401a39
1 changed files with 1 additions and 1 deletions

View File

@ -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);