/external/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 109 Hints.push_back(FixItHint::CreateRemoval( in tryToFixConversion() 143 Hints.push_back(FixItHint::CreateRemoval( in tryToFixConversion()
|
D | DeclSpec.cpp | 952 Hints[I] = FixItHint::CreateRemoval(ExtraLocs[I]); in Finish() 1134 << FixItHint::CreateRemoval(StorageClassSpecLoc); in Finish() 1153 StorageHint = FixItHint::CreateRemoval(SCLoc); in Finish() 1160 ThreadHint = FixItHint::CreateRemoval(SCLoc); in Finish() 1188 FixItHint Hint = FixItHint::CreateRemoval(SCLoc); in Finish()
|
D | SemaLambda.cpp | 931 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition() 941 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition() 1013 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition() 1018 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition() 1051 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition()
|
D | AnalysisBasedWarnings.cpp | 655 Fixit1 = FixItHint::CreateRemoval( in CreateIfFixit() 660 Fixit2 = FixItHint::CreateRemoval( in CreateIfFixit() 666 Fixit1 = FixItHint::CreateRemoval( in CreateIfFixit() 670 Fixit1 = FixItHint::CreateRemoval(If->getSourceRange()); in CreateIfFixit() 765 Fixit1 = FixItHint::CreateRemoval(SourceRange(BO->getLocStart(), in DiagUninitUse() 787 Fixit1 = FixItHint::CreateRemoval(Range); in DiagUninitUse()
|
D | SemaDecl.cpp | 1532 Hint = FixItHint::CreateRemoval(CharSourceRange:: in GenerateFixForUnusedDecl() 3875 << FixItHint::CreateRemoval(DS.getModulePrivateSpecLoc()); in ParsedFreeStandingDeclSpec() 4162 << FixItHint::CreateRemoval(DS.getStorageClassSpecLoc()); in BuildAnonymousStructOrUnion() 4176 << FixItHint::CreateRemoval(DS.getConstSpecLoc()); in BuildAnonymousStructOrUnion() 4181 << FixItHint::CreateRemoval(DS.getVolatileSpecLoc()); in BuildAnonymousStructOrUnion() 4186 << FixItHint::CreateRemoval(DS.getRestrictSpecLoc()); in BuildAnonymousStructOrUnion() 4191 << FixItHint::CreateRemoval(DS.getAtomicSpecLoc()); in BuildAnonymousStructOrUnion() 4721 << Name << FixItHint::CreateRemoval(SS.getRange()); in diagnoseQualifiedDeclaration() 5759 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in ActOnVariableDeclarator() 5835 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in ActOnVariableDeclarator() [all …]
|
D | SemaType.cpp | 734 << FixItHint::CreateRemoval(Qual.second); in diagnoseAndRemoveTypeQualifiers() 764 << FixItHint::CreateRemoval(typeArgsRange); in applyObjCTypeArgs() 776 << FixItHint::CreateRemoval(typeArgsRange); in applyObjCTypeArgs() 804 << typeArg << FixItHint::CreateRemoval(rangeToRemove); in applyObjCTypeArgs() 812 << FixItHint::CreateRemoval(rangeToRemove); in applyObjCTypeArgs() 2482 FixIts[NumQuals] = FixItHint::CreateRemoval(QualLoc); in diagnoseIgnoredQualifiers() 2892 << FixItHint::CreateRemoval(ParenRange); in warnAboutAmbiguousFunction() 4182 << FixItHint::CreateRemoval(RemovalRange); in GetFullTypeForDeclarator() 5531 << FixItHint::CreateRemoval(nullabilityLoc); in checkNullabilityTypeSpecifier() 5702 diag << FixItHint::CreateRemoval(attr.getLoc()) in distributeNullabilityTypeAttr() [all …]
|
D | SemaTemplate.cpp | 2556 << FixItHint::CreateRemoval(SourceRange(LAngleLoc, RAngleLoc)); in ActOnVarTemplateSpecialization() 2991 << FixItHint::CreateRemoval(TemplateKWLoc); in ActOnDependentTemplateName() 4637 << FixItHint::CreateRemoval(AddrOpLoc); in CheckTemplateArgumentAddressOfObjectOrFunction() 4677 << FixItHint::CreateRemoval(AddrOpLoc); in CheckTemplateArgumentAddressOfObjectOrFunction() 6224 << FixItHint::CreateRemoval( in ActOnClassTemplateSpecialization() 6324 << FixItHint::CreateRemoval(SourceRange(LAngleLoc, RAngleLoc)); in ActOnClassTemplateSpecialization() 6491 << FixItHint::CreateRemoval(ModulePrivateLoc); in ActOnClassTemplateSpecialization() 7648 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in ActOnExplicitInstantiation() 7663 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc()); in ActOnExplicitInstantiation() 8009 << FixItHint::CreateRemoval(TypenameLoc); in ActOnTypenameType() [all …]
|
D | SemaExprMember.cpp | 1289 << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr() 1443 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
|
D | SemaChecking.cpp | 3443 Hint = FixItHint::CreateRemoval(LMRange); in HandleInvalidLengthModifier() 3829 ? FixItHint::CreateRemoval(getSpecifierRange(Amt.getStart(), in HandleInvalidAmount() 3853 FixItHint::CreateRemoval( in HandleFlag() 3869 FixItHint::CreateRemoval( in HandleIgnoredFlag() 3894 Range, FixItHint::CreateRemoval(Range)); in HandleInvalidObjCModifierFlag() 3905 Range, FixItHint::CreateRemoval(Range)); in HandleObjCFlagsWithNonObjCConversion() 4568 FixItHint::CreateRemoval(R)); in HandleScanfSpecifier() 5083 << FixItHint::CreateRemoval(Call->getCallee()->getSourceRange()); in CheckAbsoluteValueFunction() 5166 << FixItHint::CreateRemoval(RParenLoc); in CheckMemorySizeofForComparison()
|
D | SemaDeclObjC.cpp | 654 << FixItHint::CreateRemoval(rangeToRemove); in actOnObjCTypeParam() 665 << FixItHint::CreateRemoval(rangeToRemove); in actOnObjCTypeParam() 809 diag << FixItHint::CreateRemoval(newTypeParam->getVarianceLoc()); in checkTypeParamListConsistency() 4461 << FixItHint::CreateRemoval(SourceRange(DS.getStorageClassSpecLoc())); in ActOnObjCExceptionDecl()
|
D | SemaDeclCXX.cpp | 1915 << "override" << FixItHint::CreateRemoval(OA->getLocation()); in CheckOverrideControl() 1922 << FixItHint::CreateRemoval(FA->getLocation()); in CheckOverrideControl() 2103 B << FixItHint::CreateRemoval(ConstexprLoc); in ActOnCXXMemberDeclarator() 6696 << FixItHint::CreateRemoval(FTI.getRefQualifierLoc()); in CheckConstructorDeclarator() 6820 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in CheckDestructorDeclarator() 6867 << FixItHint::CreateRemoval(FTI.getRefQualifierLoc()); in CheckDestructorDeclarator() 7027 << FixItHint::CreateRemoval(Before); in CheckConversionDeclarator() 12657 DB << FixItHint::CreateRemoval(SS.getRange()); in ActOnFriendFunctionDecl()
|
D | SemaInit.cpp | 886 << FixItHint::CreateRemoval(Braces.getBegin()) in warnBracedScalarInit() 887 << FixItHint::CreateRemoval(Braces.getEnd()); in warnBracedScalarInit() 6041 << FixItHint::CreateRemoval(SourceRange(CallBegin, LParen)) in CheckMoveOnConstruction() 6042 << FixItHint::CreateRemoval(SourceRange(RParen, RParen)); in CheckMoveOnConstruction()
|
D | SemaExprCXX.cpp | 1498 << FixItHint::CreateRemoval(TypeIdParens.getBegin()) in BuildCXXNew() 1499 << FixItHint::CreateRemoval(TypeIdParens.getEnd()); in BuildCXXNew() 2565 H = FixItHint::CreateRemoval(SourceRange(EndOfDelete, RSquare)); in DiagnoseMismatchedNewDelete()
|
D | SemaExpr.cpp | 4873 << FixItHint::CreateRemoval( in ActOnCallExpr() 9151 << FixItHint::CreateRemoval( in CheckLogicalOperands() 13916 << FixItHint::CreateRemoval(ParenERange.getBegin()) in DiagnoseEqualityWithExtraParens() 13917 << FixItHint::CreateRemoval(ParenERange.getEnd()); in DiagnoseEqualityWithExtraParens()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 118 << FixItHint::CreateRemoval(InlineLoc); in ParseNamespace() 403 << 0 /* directive */ << R << FixItHint::CreateRemoval(R); in ParseUsingDirectiveOrDeclaration() 578 << FixItHint::CreateRemoval(MisplacedAttrs.Range); in ParseUsingDeclaration() 618 << FixItHint::CreateRemoval(SourceRange(TypenameLoc, in ParseUsingDeclaration() 622 << FixItHint::CreateRemoval(SS.getRange()); in ParseUsingDeclaration() 654 << 1 /* declaration */ << R << FixItHint::CreateRemoval(R); in ParseUsingDeclaration() 666 << FixItHint::CreateRemoval(SourceRange(TypenameLoc)); in ParseUsingDeclaration() 941 << FixItHint::CreateRemoval(Tok.getLocation()); in ParseBaseTypeSpecifier() 957 << FixItHint::CreateRemoval(SS.getRange()); in ParseBaseTypeSpecifier() 1551 << FixItHint::CreateRemoval(AttrRange); in ParseClassSpecifier() [all …]
|
D | Parser.cpp | 190 << FixItHint::CreateRemoval(Tok.getLocation()); in ExpectAndConsumeSemi() 218 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() 221 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() 229 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() 233 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi() 1327 << FixItHint::CreateRemoval(RemovalRange); in ParseSimpleAsm()
|
D | RAIIObjectsForParser.h | 435 << Close << FixItHint::CreateRemoval(SourceRange(SemiLoc, SemiLoc)); in consumeClose()
|
D | ParseDecl.cpp | 1371 << FixItHint::CreateRemoval(AttrRange); in DiagnoseMisplacedCXX11Attribute() 1729 << (Fixit ? FixItHint::CreateRemoval(Loc) : FixItHint()) in ParseDeclGroup() 1964 << 2 << FixItHint::CreateRemoval(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes() 3132 << FixItHint::CreateRemoval(DS.getStorageClassSpecLoc()); in ParseDeclarationSpecifiers() 3466 << PrevSpec << FixItHint::CreateRemoval(Tok.getLocation()); in ParseDeclarationSpecifiers() 4168 << FixItHint::CreateRemoval(CommaLoc); in ParseEnumBody() 4171 << FixItHint::CreateRemoval(CommaLoc); in ParseEnumBody() 5224 << FixItHint::CreateRemoval(Tok.getLocation()); in ParseDirectDeclarator() 6138 << FixItHint::CreateRemoval(BracketRange); in ParseMisplacedBracketDeclarator() 6144 << FixItHint::CreateRemoval(BracketRange); in ParseMisplacedBracketDeclarator()
|
D | ParseExprCXX.cpp | 141 << FixItHint::CreateRemoval(LParen.getLocation()) in CheckForLParenAfterColonColon() 142 << FixItHint::CreateRemoval(RParen.getLocation()); in CheckForLParenAfterColonColon() 2452 << FixItHint::CreateRemoval( in ParseUnqualifiedId() 2553 << FixItHint::CreateRemoval(TildeLoc) in ParseUnqualifiedId()
|
D | ParseTemplate.cpp | 261 << FixItHint::CreateRemoval(DS.getStorageClassSpecLoc()); in ParseSingleDeclarationAfterTemplate() 720 << FixItHint::CreateRemoval(EllipsisLoc) << Insertion in DiagnoseMisplacedEllipsis()
|
D | ParseObjc.cpp | 2130 << FixItHint::CreateRemoval(SourceRange(lAngleLoc, rAngleLoc)); in ParseObjCAtImplementationDeclaration() 2652 << FixItHint::CreateRemoval(Tok.getLocation()); in ParseObjCMethodDefinition() 3213 FixItHint::CreateRemoval(commaLoc); in ParseObjCMessageExpressionBody()
|
D | ParseStmt.cpp | 1074 << FixItHint::CreateRemoval(Tok.getLocation()); in ParseParenExprOrCondition()
|
D | ParseExpr.cpp | 1580 << FixItHint::CreateRemoval(OpLoc); in ParsePostfixExpressionSuffix()
|
/external/clang/include/clang/Basic/ |
D | Diagnostic.h | 104 static FixItHint CreateRemoval(CharSourceRange RemoveRange) { in CreateRemoval() function 109 static FixItHint CreateRemoval(SourceRange RemoveRange) { in CreateRemoval() function 110 return CreateRemoval(CharSourceRange::getTokenRange(RemoveRange)); in CreateRemoval()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 2848 << FixItHint::CreateRemoval(makeCharRange(*this, BufferPtr, CurPtr)); in LexUnicode()
|