Home | History | Annotate | Download | only in Sema

Lines Matching defs:Corrected

1844   TypoCorrection Corrected;
1845 if (S && (Corrected = CorrectTypo(R.getLookupNameInfo(), R.getLookupKind(),
1847 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
1849 Corrected.WillReplaceSpecifier() && Name.getAsString() == CorrectedStr;
1850 R.setLookupName(Corrected.getCorrection());
1854 NamedDecl *ND = Corrected.getCorrectionDecl();
1856 if (Corrected.isOverloaded()) {
1860 for (TypoCorrection::decl_iterator CD = Corrected.begin(),
1861 CDEnd = Corrected.end();
1876 Corrected.setCorrectionDecl(ND);
1880 Corrected.setCorrectionDecl(ND);
1887 if (Corrected.getCorrectionSpecifier()) {
1888 const Type *Ty = Corrected.getCorrectionSpecifier()->getAsType();
1913 unsigned NoteID = (Corrected.getCorrectionDecl() &&
1914 isa<ImplicitParamDecl>(Corrected.getCorrectionDecl()))
1918 diagnoseTypo(Corrected, PDiag(diagnostic_suggest) << Name,
1921 diagnoseTypo(Corrected, PDiag(diag::err_no_member_suggest)
4088 if (TypoCorrection Corrected = S.CorrectTypo(
4092 if (NamedDecl *ND = Corrected.getCorrectionDecl()) {
4093 if (Corrected.isOverloaded()) {
4096 for (TypoCorrection::decl_iterator CD = Corrected.begin(),
4097 CDEnd = Corrected.end();
4106 Corrected.setCorrectionDecl(ND);
4113 return Corrected;