HomeSort by relevance Sort by last modified time
    Searched defs:Corrected (Results 1 - 7 of 7) sorted by null

  /external/clang/lib/Sema/
SemaOpenMP.cpp 61 TypoCorrection Corrected = CorrectTypo(Id, LookupOrdinaryName, CurScope,
63 std::string CorrectedStr = Corrected.getAsString(getLangOpts());
64 std::string CorrectedQuotedStr = Corrected.getQuoted(getLangOpts());
66 if (Corrected.isResolved()) {
76 << Id.getName() << Corrected.isResolved() << CorrectedQuotedStr
79 if (!Corrected.isResolved()) return ExprError();
80 VD = Corrected.getCorrectionDeclAs<VarDecl>();
SemaCXXScopeSpec.cpp 492 TypoCorrection Corrected;
494 if ((Corrected = CorrectTypo(Found.getLookupNameInfo(),
497 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
498 std::string CorrectedQuotedStr(Corrected.getQuoted(getLangOpts()));
499 bool droppedSpecifier = Corrected.WillReplaceSpecifier() &&
505 << FixItHint::CreateReplacement(Corrected.getCorrectionRange(),
510 << FixItHint::CreateReplacement(Corrected.getCorrectionRange(),
513 if (NamedDecl *ND = Corrected.getCorrectionDecl()) {
517 Found.setLookupName(Corrected.getCorrection());
    [all...]
SemaExprMember.cpp 623 TypoCorrection Corrected = SemaRef.CorrectTypo(R.getLookupNameInfo(),
627 if (Corrected.isResolved() && !Corrected.isKeyword()) {
629 Corrected.getAsString(SemaRef.getLangOpts()));
631 Corrected.getQuoted(SemaRef.getLangOpts()));
633 Corrected.WillReplaceSpecifier() && Name.getAsString() == CorrectedStr;
635 R.setLookupName(Corrected.getCorrection());
636 for (TypoCorrection::decl_iterator DI = Corrected.begin(),
637 DIEnd = Corrected.end();
645 << FixItHint::CreateReplacement(Corrected.getCorrectionRange()
    [all...]
SemaDeclObjC.cpp 513 if (TypoCorrection Corrected = CorrectTypo(
516 PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>();
748 TypoCorrection Corrected = CorrectTypo(
751 if ((PDecl = Corrected.getCorrectionDeclAs<ObjCProtocolDecl>())) {
753 << ProtocolId[i].first << Corrected.getCorrection();
    [all...]
SemaInit.cpp     [all...]
SemaDecl.cpp 229 // Ignore a correction to a template type as the to-be-corrected
412 if (TypoCorrection Corrected = CorrectTypo(DeclarationNameInfo(II, IILoc),
415 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
416 std::string CorrectedQuotedStr(Corrected.getQuoted(getLangOpts()));
418 if (Corrected.isKeyword()) {
419 // We corrected to a keyword.
420 IdentifierInfo *NewII = Corrected.getCorrectionAsIdentifierInfo();
425 << FixItHint::CreateReplacement(Corrected.getCorrectionRange(),
429 NamedDecl *Result = Corrected.getCorrectionDecl();
434 << FixItHint::CreateReplacement(Corrected.getCorrectionRange()
    [all...]
SemaExpr.cpp     [all...]

Completed in 396 milliseconds