r211134 - Fix the caller of checkCorrectionVisibility too.
Kaelyn Takata
rikka at google.com
Tue Jun 17 16:47:29 PDT 2014
Author: rikka
Date: Tue Jun 17 18:47:29 2014
New Revision: 211134
URL: http://llvm.org/viewvc/llvm-project?rev=211134&view=rev
Log:
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.
Modified:
cfe/trunk/lib/Sema/SemaLookup.cpp
Modified: cfe/trunk/lib/Sema/SemaLookup.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaLookup.cpp?rev=211134&r1=211133&r2=211134&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaLookup.cpp (original)
+++ cfe/trunk/lib/Sema/SemaLookup.cpp Tue Jun 17 18:47:29 2014
@@ -4384,7 +4384,7 @@ TypoCorrection Sema::CorrectTypo(const D
TypoCorrection TC = Result;
TC.setCorrectionRange(SS, TypoName);
- checkCorrectionVisibility(*this, TC, TypoName.getName());
+ checkCorrectionVisibility(*this, TC);
return TC;
}
// Ugly hack equivalent to CTC == CTC_ObjCMessageReceiver;
More information about the cfe-commits
mailing list