Lines Matching refs:Corrected
2322 TypoCorrection Corrected; in DiagnoseEmptyLookup() local
2337 (Corrected = CorrectTypo(R.getLookupNameInfo(), R.getLookupKind(), in DiagnoseEmptyLookup()
2339 std::string CorrectedStr(Corrected.getAsString(getLangOpts())); in DiagnoseEmptyLookup()
2341 Corrected.WillReplaceSpecifier() && Name.getAsString() == CorrectedStr; in DiagnoseEmptyLookup()
2342 R.setLookupName(Corrected.getCorrection()); in DiagnoseEmptyLookup()
2346 NamedDecl *ND = Corrected.getFoundDecl(); in DiagnoseEmptyLookup()
2348 if (Corrected.isOverloaded()) { in DiagnoseEmptyLookup()
2352 for (NamedDecl *CD : Corrected) { in DiagnoseEmptyLookup()
2366 Corrected.setCorrectionDecl(ND); in DiagnoseEmptyLookup()
2370 Corrected.setCorrectionDecl(ND); in DiagnoseEmptyLookup()
2377 if (Corrected.getCorrectionSpecifier()) { in DiagnoseEmptyLookup()
2378 const Type *Ty = Corrected.getCorrectionSpecifier()->getAsType(); in DiagnoseEmptyLookup()
2405 unsigned NoteID = Corrected.getCorrectionDeclAs<ImplicitParamDecl>() in DiagnoseEmptyLookup()
2409 diagnoseTypo(Corrected, PDiag(diagnostic_suggest) << Name, in DiagnoseEmptyLookup()
2412 diagnoseTypo(Corrected, PDiag(diag::err_no_member_suggest) in DiagnoseEmptyLookup()
6212 if (TypoCorrection Corrected = S.CorrectTypo( in TryTypoCorrectionForCall() local
6216 if (NamedDecl *ND = Corrected.getFoundDecl()) { in TryTypoCorrectionForCall()
6217 if (Corrected.isOverloaded()) { in TryTypoCorrectionForCall()
6220 for (NamedDecl *CD : Corrected) { in TryTypoCorrectionForCall()
6228 Corrected.setCorrectionDecl(ND); in TryTypoCorrectionForCall()
6236 return Corrected; in TryTypoCorrectionForCall()