Home | History | Annotate | Download | only in Sema

Lines Matching full:corrected

353           // Ignore a correction to a template type as the to-be-corrected
610 if (TypoCorrection Corrected =
615 if (Corrected.isKeyword()) {
616 // We corrected to a keyword.
617 diagnoseTypo(Corrected, PDiag(diag::err_unknown_typename_suggest) << II);
618 II = Corrected.getCorrectionAsIdentifierInfo();
622 diagnoseTypo(Corrected,
625 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
626 bool DroppedSpecifier = Corrected.WillReplaceSpecifier() &&
628 diagnoseTypo(Corrected,
632 llvm_unreachable("could not have corrected a typo here");
636 if (Corrected.getCorrectionSpecifier())
637 tmpSS.MakeTrivial(Context, Corrected.getCorrectionSpecifier(),
640 getTypeName(*Corrected.getCorrectionAsIdentifierInfo(), IILoc, S,
811 Corrected:
853 if (TypoCorrection Corrected = CorrectTypo(Result.getLookupNameInfo(),
860 NamedDecl *FirstDecl = Corrected.getFoundDecl();
861 NamedDecl *UnderlyingFirstDecl = Corrected.getCorrectionDecl();
875 diagnoseTypo(Corrected, PDiag(UnqualifiedDiag) << Name);
877 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
878 bool DroppedSpecifier = Corrected.WillReplaceSpecifier() &&
880 diagnoseTypo(Corrected, PDiag(QualifiedDiag)
886 Name = Corrected.getCorrectionAsIdentifierInfo();
888 // Typo correction corrected to a keyword.
889 if (Corrected.isKeyword())
895 Result.setLookupName(Corrected.getCorrection());
909 goto Corrected;
7228 // pieces need to verify the typo-corrected C++ declaration and hopefully
11754 TypoCorrection Corrected;
11756 (Corrected = CorrectTypo(
11759 diagnoseTypo(Corrected, PDiag(diag::note_function_suggestion),