[clang-tidy] Fix a copy-paste error.

llvm-svn: 257900
This commit is contained in:
Alexander Kornienko 2016-01-15 16:16:47 +00:00
parent 5dd453e505
commit 33c2494b69
1 changed files with 1 additions and 1 deletions

View File

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