Lines Matching refs:Corrected

2323   TypoCorrection Corrected;  in DiagnoseEmptyLookup()  local
2338 (Corrected = CorrectTypo(R.getLookupNameInfo(), R.getLookupKind(), in DiagnoseEmptyLookup()
2340 std::string CorrectedStr(Corrected.getAsString(getLangOpts())); in DiagnoseEmptyLookup()
2342 Corrected.WillReplaceSpecifier() && Name.getAsString() == CorrectedStr; in DiagnoseEmptyLookup()
2343 R.setLookupName(Corrected.getCorrection()); in DiagnoseEmptyLookup()
2347 NamedDecl *ND = Corrected.getFoundDecl(); in DiagnoseEmptyLookup()
2349 if (Corrected.isOverloaded()) { in DiagnoseEmptyLookup()
2353 for (NamedDecl *CD : Corrected) { in DiagnoseEmptyLookup()
2367 Corrected.setCorrectionDecl(ND); in DiagnoseEmptyLookup()
2371 Corrected.setCorrectionDecl(ND); in DiagnoseEmptyLookup()
2378 if (Corrected.getCorrectionSpecifier()) { in DiagnoseEmptyLookup()
2379 const Type *Ty = Corrected.getCorrectionSpecifier()->getAsType(); in DiagnoseEmptyLookup()
2406 unsigned NoteID = Corrected.getCorrectionDeclAs<ImplicitParamDecl>() in DiagnoseEmptyLookup()
2410 diagnoseTypo(Corrected, PDiag(diagnostic_suggest) << Name, in DiagnoseEmptyLookup()
2413 diagnoseTypo(Corrected, PDiag(diag::err_no_member_suggest) in DiagnoseEmptyLookup()
5973 if (TypoCorrection Corrected = S.CorrectTypo( in TryTypoCorrectionForCall() local
5977 if (NamedDecl *ND = Corrected.getFoundDecl()) { in TryTypoCorrectionForCall()
5978 if (Corrected.isOverloaded()) { in TryTypoCorrectionForCall()
5981 for (NamedDecl *CD : Corrected) { in TryTypoCorrectionForCall()
5989 Corrected.setCorrectionDecl(ND); in TryTypoCorrectionForCall()
5997 return Corrected; in TryTypoCorrectionForCall()