Lines Matching refs:Corrected
1905 TypoCorrection Corrected; in DiagnoseEmptyLookup() local
1919 } else if (S && (Corrected = in DiagnoseEmptyLookup()
1922 std::string CorrectedStr(Corrected.getAsString(getLangOpts())); in DiagnoseEmptyLookup()
1924 Corrected.WillReplaceSpecifier() && Name.getAsString() == CorrectedStr; in DiagnoseEmptyLookup()
1925 R.setLookupName(Corrected.getCorrection()); in DiagnoseEmptyLookup()
1929 NamedDecl *ND = Corrected.getFoundDecl(); in DiagnoseEmptyLookup()
1931 if (Corrected.isOverloaded()) { in DiagnoseEmptyLookup()
1935 for (NamedDecl *CD : Corrected) { in DiagnoseEmptyLookup()
1949 Corrected.setCorrectionDecl(ND); in DiagnoseEmptyLookup()
1953 Corrected.setCorrectionDecl(ND); in DiagnoseEmptyLookup()
1960 if (Corrected.getCorrectionSpecifier()) { in DiagnoseEmptyLookup()
1961 const Type *Ty = Corrected.getCorrectionSpecifier()->getAsType(); in DiagnoseEmptyLookup()
1987 unsigned NoteID = Corrected.getCorrectionDeclAs<ImplicitParamDecl>() in DiagnoseEmptyLookup()
1991 diagnoseTypo(Corrected, PDiag(diagnostic_suggest) << Name, in DiagnoseEmptyLookup()
1994 diagnoseTypo(Corrected, PDiag(diag::err_no_member_suggest) in DiagnoseEmptyLookup()
4827 if (TypoCorrection Corrected = S.CorrectTypo( in TryTypoCorrectionForCall() local
4833 if (NamedDecl *ND = Corrected.getFoundDecl()) { in TryTypoCorrectionForCall()
4834 if (Corrected.isOverloaded()) { in TryTypoCorrectionForCall()
4837 for (NamedDecl *CD : Corrected) { in TryTypoCorrectionForCall()
4845 Corrected.setCorrectionDecl(ND); in TryTypoCorrectionForCall()
4853 return Corrected; in TryTypoCorrectionForCall()