Home
last modified time | relevance | path

Searched refs:CreateRemoval (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/include/clang/Tooling/
DFixIt.h57 return FixItHint::CreateRemoval(internal::getSourceRange(Node)); in createRemoval()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp109 Hints.push_back(FixItHint::CreateRemoval( in tryToFixConversion()
143 Hints.push_back(FixItHint::CreateRemoval( in tryToFixConversion()
DDeclSpec.cpp979 Hints[I] = FixItHint::CreateRemoval(ExtraLocs[I]); in Finish()
1161 << FixItHint::CreateRemoval(StorageClassSpecLoc); in Finish()
1180 StorageHint = FixItHint::CreateRemoval(SCLoc); in Finish()
1187 ThreadHint = FixItHint::CreateRemoval(SCLoc); in Finish()
1215 FixItHint Hint = FixItHint::CreateRemoval(SCLoc); in Finish()
DSemaLambda.cpp934 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition()
946 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition()
1020 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition()
1025 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition()
1058 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition()
DAnalysisBasedWarnings.cpp655 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()
DSemaDecl.cpp1575 Hint = FixItHint::CreateRemoval(CharSourceRange:: in GenerateFixForUnusedDecl()
4005 << FixItHint::CreateRemoval(DS.getModulePrivateSpecLoc()); in ParsedFreeStandingDeclSpec()
4289 << FixItHint::CreateRemoval(DS.getStorageClassSpecLoc()); in BuildAnonymousStructOrUnion()
4303 << FixItHint::CreateRemoval(DS.getConstSpecLoc()); in BuildAnonymousStructOrUnion()
4308 << FixItHint::CreateRemoval(DS.getVolatileSpecLoc()); in BuildAnonymousStructOrUnion()
4313 << FixItHint::CreateRemoval(DS.getRestrictSpecLoc()); in BuildAnonymousStructOrUnion()
4318 << FixItHint::CreateRemoval(DS.getAtomicSpecLoc()); in BuildAnonymousStructOrUnion()
4323 << FixItHint::CreateRemoval(DS.getUnalignedSpecLoc()); in BuildAnonymousStructOrUnion()
4854 << Name << FixItHint::CreateRemoval(SS.getRange()); in diagnoseQualifiedDeclaration()
5920 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in ActOnVariableDeclarator()
[all …]
DSemaType.cpp747 << FixItHint::CreateRemoval(Qual.second); in diagnoseAndRemoveTypeQualifiers()
818 << FixItHint::CreateRemoval(typeArgsRange); in applyObjCTypeArgs()
830 << FixItHint::CreateRemoval(typeArgsRange); in applyObjCTypeArgs()
858 << typeArg << FixItHint::CreateRemoval(rangeToRemove); in applyObjCTypeArgs()
866 << FixItHint::CreateRemoval(rangeToRemove); in applyObjCTypeArgs()
2690 FixIts[NumQuals] = FixItHint::CreateRemoval(QualLoc); in diagnoseIgnoredQualifiers()
3105 << FixItHint::CreateRemoval(ParenRange); in warnAboutAmbiguousFunction()
4463 << FixItHint::CreateRemoval(RemovalRange); in GetFullTypeForDeclarator()
5841 << FixItHint::CreateRemoval(nullabilityLoc); in checkNullabilityTypeSpecifier()
6013 diag << FixItHint::CreateRemoval(attr.getLoc()) in distributeNullabilityTypeAttr()
[all …]
DSemaTemplate.cpp2594 << FixItHint::CreateRemoval(SourceRange(LAngleLoc, RAngleLoc)); in ActOnVarTemplateSpecialization()
3034 << FixItHint::CreateRemoval(TemplateKWLoc); in ActOnDependentTemplateName()
4678 << FixItHint::CreateRemoval(AddrOpLoc); in CheckTemplateArgumentAddressOfObjectOrFunction()
4718 << FixItHint::CreateRemoval(AddrOpLoc); in CheckTemplateArgumentAddressOfObjectOrFunction()
6268 << FixItHint::CreateRemoval( in ActOnClassTemplateSpecialization()
6365 << FixItHint::CreateRemoval(SourceRange(LAngleLoc, RAngleLoc)); in ActOnClassTemplateSpecialization()
6530 << FixItHint::CreateRemoval(ModulePrivateLoc); in ActOnClassTemplateSpecialization()
7764 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in ActOnExplicitInstantiation()
7779 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc()); in ActOnExplicitInstantiation()
8153 << FixItHint::CreateRemoval(TypenameLoc); in ActOnTypenameType()
[all …]
DSemaExprMember.cpp1352 << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
1508 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
DSemaDeclObjC.cpp653 << FixItHint::CreateRemoval(rangeToRemove); in actOnObjCTypeParam()
664 << FixItHint::CreateRemoval(rangeToRemove); in actOnObjCTypeParam()
808 diag << FixItHint::CreateRemoval(newTypeParam->getVarianceLoc()); in checkTypeParamListConsistency()
4610 << FixItHint::CreateRemoval(SourceRange(DS.getStorageClassSpecLoc())); in ActOnObjCExceptionDecl()
DSemaChecking.cpp4280 Hint = FixItHint::CreateRemoval(LMRange); in HandleInvalidLengthModifier()
4714 ? FixItHint::CreateRemoval(getSpecifierRange(Amt.getStart(), in HandleInvalidAmount()
4738 FixItHint::CreateRemoval( in HandleFlag()
4754 FixItHint::CreateRemoval( in HandleIgnoredFlag()
4779 Range, FixItHint::CreateRemoval(Range)); in HandleInvalidObjCModifierFlag()
4790 Range, FixItHint::CreateRemoval(Range)); in HandleObjCFlagsWithNonObjCConversion()
5451 FixItHint::CreateRemoval(R)); in HandleScanfSpecifier()
5972 << FixItHint::CreateRemoval(Call->getCallee()->getSourceRange()); in CheckAbsoluteValueFunction()
6054 << FixItHint::CreateRemoval(RParenLoc); in CheckMemorySizeofForComparison()
DSemaDeclCXX.cpp1918 << "override" << FixItHint::CreateRemoval(OA->getLocation()); in CheckOverrideControl()
1925 << FixItHint::CreateRemoval(FA->getLocation()); in CheckOverrideControl()
2106 B << FixItHint::CreateRemoval(ConstexprLoc); in ActOnCXXMemberDeclarator()
6859 << FixItHint::CreateRemoval(FTI.getRefQualifierLoc()); in CheckConstructorDeclarator()
6983 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in CheckDestructorDeclarator()
7030 << FixItHint::CreateRemoval(FTI.getRefQualifierLoc()); in CheckDestructorDeclarator()
7191 << FixItHint::CreateRemoval(Before); in CheckConversionDeclarator()
12897 DB << FixItHint::CreateRemoval(SS.getRange()); in ActOnFriendFunctionDecl()
DSemaInit.cpp946 << FixItHint::CreateRemoval(Braces.getBegin()) in warnBracedScalarInit()
947 << FixItHint::CreateRemoval(Braces.getEnd()); in warnBracedScalarInit()
6173 << FixItHint::CreateRemoval(SourceRange(CallBegin, LParen)) in CheckMoveOnConstruction()
6174 << FixItHint::CreateRemoval(SourceRange(RParen, RParen)); in CheckMoveOnConstruction()
DSemaExprCXX.cpp1731 << FixItHint::CreateRemoval(TypeIdParens.getBegin()) in BuildCXXNew()
1732 << FixItHint::CreateRemoval(TypeIdParens.getEnd()); in BuildCXXNew()
2790 H = FixItHint::CreateRemoval(SourceRange(EndOfDelete, RSquare)); in DiagnoseMismatchedNewDelete()
/external/clang/lib/Parse/
DParseDeclCXX.cpp118 << 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()
1566 << FixItHint::CreateRemoval(AttrRange); in ParseClassSpecifier()
[all …]
DParser.cpp190 << 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()
1353 << FixItHint::CreateRemoval(RemovalRange); in ParseSimpleAsm()
DParseExprCXX.cpp141 << FixItHint::CreateRemoval(LParen.getLocation()) in CheckForLParenAfterColonColon()
142 << FixItHint::CreateRemoval(RParen.getLocation()); in CheckForLParenAfterColonColon()
1072 << 0 << FixItHint::CreateRemoval(P.getCurToken().getLocation()); in tryConsumeMutableOrConstexprToken()
1082 << 1 << FixItHint::CreateRemoval(P.getCurToken().getLocation()); in tryConsumeMutableOrConstexprToken()
2530 << FixItHint::CreateRemoval( in ParseUnqualifiedId()
2629 << FixItHint::CreateRemoval(TildeLoc) in ParseUnqualifiedId()
DRAIIObjectsForParser.h435 << Close << FixItHint::CreateRemoval(SourceRange(SemiLoc, SemiLoc)); in consumeClose()
DParseDecl.cpp1402 << FixItHint::CreateRemoval(AttrRange); in DiagnoseMisplacedCXX11Attribute()
1765 << (Fixit ? FixItHint::CreateRemoval(Loc) : FixItHint()) in ParseDeclGroup()
2000 << 2 << FixItHint::CreateRemoval(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes()
3180 << FixItHint::CreateRemoval(DS.getStorageClassSpecLoc()); in ParseDeclarationSpecifiers()
3549 << PrevSpec << FixItHint::CreateRemoval(Tok.getLocation()); in ParseDeclarationSpecifiers()
4257 << FixItHint::CreateRemoval(CommaLoc); in ParseEnumBody()
4260 << FixItHint::CreateRemoval(CommaLoc); in ParseEnumBody()
5329 << FixItHint::CreateRemoval(Tok.getLocation()); in ParseDirectDeclarator()
6247 << FixItHint::CreateRemoval(BracketRange); in ParseMisplacedBracketDeclarator()
6253 << FixItHint::CreateRemoval(BracketRange); in ParseMisplacedBracketDeclarator()
DParseTemplate.cpp266 << FixItHint::CreateRemoval(DS.getStorageClassSpecLoc()); in ParseSingleDeclarationAfterTemplate()
724 << FixItHint::CreateRemoval(EllipsisLoc) << Insertion in DiagnoseMisplacedEllipsis()
DParseObjc.cpp2154 << FixItHint::CreateRemoval(SourceRange(lAngleLoc, rAngleLoc)); in ParseObjCAtImplementationDeclaration()
2712 << FixItHint::CreateRemoval(Tok.getLocation()); in ParseObjCMethodDefinition()
3271 FixItHint::CreateRemoval(commaLoc); in ParseObjCMessageExpressionBody()
DParseStmt.cpp1094 << FixItHint::CreateRemoval(Tok.getLocation()); in ParseParenExprOrCondition()
DParseExpr.cpp1628 << FixItHint::CreateRemoval(OpLoc); in ParsePostfixExpressionSuffix()
/external/clang/include/clang/Basic/
DDiagnostic.h104 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/
DLexer.cpp2876 << FixItHint::CreateRemoval(makeCharRange(*this, BufferPtr, CurPtr)); in LexUnicode()

12