Fix the caller of checkCorrectionVisibility too.

That's what I get for hurredly splitting the small change out of a much
bigger change that had moved where checkCorrectionVisibility was being
called.

llvm-svn: 211134
This commit is contained in:
Kaelyn Takata 2014-06-17 23:47:29 +00:00
parent 61df4a787e
commit a95ebc6801
1 changed files with 1 additions and 1 deletions

View File

@ -4384,7 +4384,7 @@ TypoCorrection Sema::CorrectTypo(const DeclarationNameInfo &TypoName,
TypoCorrection TC = Result;
TC.setCorrectionRange(SS, TypoName);
checkCorrectionVisibility(*this, TC, TypoName.getName());
checkCorrectionVisibility(*this, TC);
return TC;
}
// Ugly hack equivalent to CTC == CTC_ObjCMessageReceiver;