Lines Matching refs:Corrected
2522 TypoCorrection Corrected; in DiagnoseEmptyLookup() local
2536 } else if (S && (Corrected = in DiagnoseEmptyLookup()
2539 std::string CorrectedStr(Corrected.getAsString(getLangOpts())); in DiagnoseEmptyLookup()
2541 Corrected.WillReplaceSpecifier() && Name.getAsString() == CorrectedStr; in DiagnoseEmptyLookup()
2542 R.setLookupName(Corrected.getCorrection()); in DiagnoseEmptyLookup()
2546 NamedDecl *ND = Corrected.getFoundDecl(); in DiagnoseEmptyLookup()
2548 if (Corrected.isOverloaded()) { in DiagnoseEmptyLookup()
2552 for (NamedDecl *CD : Corrected) { in DiagnoseEmptyLookup()
2566 Corrected.setCorrectionDecl(ND); in DiagnoseEmptyLookup()
2570 Corrected.setCorrectionDecl(ND); in DiagnoseEmptyLookup()
2577 if (Corrected.getCorrectionSpecifier()) { in DiagnoseEmptyLookup()
2578 const Type *Ty = Corrected.getCorrectionSpecifier()->getAsType(); in DiagnoseEmptyLookup()
2605 unsigned NoteID = Corrected.getCorrectionDeclAs<ImplicitParamDecl>() in DiagnoseEmptyLookup()
2609 diagnoseTypo(Corrected, PDiag(diagnostic_suggest) << Name, in DiagnoseEmptyLookup()
2612 diagnoseTypo(Corrected, PDiag(diag::err_no_member_suggest) in DiagnoseEmptyLookup()
6495 if (TypoCorrection Corrected = S.CorrectTypo( in TryTypoCorrectionForCall() local
6499 if (NamedDecl *ND = Corrected.getFoundDecl()) { in TryTypoCorrectionForCall()
6500 if (Corrected.isOverloaded()) { in TryTypoCorrectionForCall()
6503 for (NamedDecl *CD : Corrected) { in TryTypoCorrectionForCall()
6511 Corrected.setCorrectionDecl(ND); in TryTypoCorrectionForCall()
6519 return Corrected; in TryTypoCorrectionForCall()