Searched defs:Corrected (Results 1 - 6 of 6) sorted by relevance

/external/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp513 TypoCorrection Corrected; local
515 if ((Corrected = CorrectTypo(Found.getLookupNameInfo(),
518 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
519 std::string CorrectedQuotedStr(Corrected.getQuoted(getLangOpts()));
529 if (NamedDecl *ND = Corrected.getCorrectionDecl()) {
533 Found.setLookupName(Corrected.getCorrection());
H A DSemaExprMember.cpp614 TypoCorrection Corrected = SemaRef.CorrectTypo(R.getLookupNameInfo(), local
618 if (NamedDecl *ND = Corrected.getCorrectionDecl()) {
620 Corrected.getAsString(SemaRef.getLangOpts()));
622 Corrected.getQuoted(SemaRef.getLangOpts()));
623 R.setLookupName(Corrected.getCorrection());
1196 if (TypoCorrection Corrected = CorrectTypo(R.getLookupNameInfo(),
1199 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>();
H A DSemaDeclObjC.cpp478 if (TypoCorrection Corrected = CorrectTypo(
481 PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>();
710 TypoCorrection Corrected = CorrectTypo( local
713 if ((PDecl = Corrected.getCorrectionDeclAs<ObjCProtocolDecl>())) {
715 << ProtocolId[i].first << Corrected.getCorrection();
949 if (TypoCorrection Corrected = CorrectTypo(
957 IDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>();
958 DeclarationName CorrectedName = Corrected.getCorrection();
H A DSemaInit.cpp1711 TypoCorrection Corrected = SemaRef.CorrectTypo( local
1715 if (Corrected) {
1717 Corrected.getAsString(SemaRef.getLangOpts()));
1719 Corrected.getQuoted(SemaRef.getLangOpts()));
1720 ReplacementField = Corrected.getCorrectionDeclAs<FieldDecl>();
H A DSemaDecl.cpp413 if (TypoCorrection Corrected = CorrectTypo(DeclarationNameInfo(II, IILoc),
416 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
417 std::string CorrectedQuotedStr(Corrected.getQuoted(getLangOpts()));
419 if (Corrected.isKeyword()) {
421 IdentifierInfo *NewII = Corrected.getCorrectionAsIdentifierInfo();
429 NamedDecl *Result = Corrected.getCorrectionDecl();
618 Corrected:
660 if (TypoCorrection Corrected = CorrectTypo(Result.getLookupNameInfo(),
665 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
666 std::string CorrectedQuotedStr(Corrected
7960 TypoCorrection Corrected; local
[all...]
H A DSemaExpr.cpp1575 TypoCorrection Corrected; local
1576 if (S && (Corrected = CorrectTypo(R.getLookupNameInfo(), R.getLookupKind(),
1578 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
1579 std::string CorrectedQuotedStr(Corrected.getQuoted(getLangOpts()));
1580 R.setLookupName(Corrected.getCorrection());
1582 if (NamedDecl *ND = Corrected.getCorrectionDecl()) {
1583 if (Corrected.isOverloaded()) {
1586 for (TypoCorrection::decl_iterator CD = Corrected.begin(),
1587 CDEnd = Corrected.end();

Completed in 199 milliseconds