forked from OSchip/llvm-project
parent
5dd453e505
commit
33c2494b69
|
@ -226,7 +226,7 @@ ClangTidyOptions ClangTidyContext::getOptionsForFile(StringRef File) const {
|
|||
// Merge options on top of getDefaults() as a safeguard against options with
|
||||
// unset values.
|
||||
return ClangTidyOptions::getDefaults().mergeWith(
|
||||
OptionsProvider->getOptions(CurrentFile));
|
||||
OptionsProvider->getOptions(File));
|
||||
}
|
||||
|
||||
void ClangTidyContext::setCheckProfileData(ProfileData *P) { Profile = P; }
|
||||
|
|
Loading…
Reference in New Issue