Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaFixItUtils.cpp109 Hints.push_back(FixItHint::CreateRemoval( in tryToFixConversion()
143 Hints.push_back(FixItHint::CreateRemoval( in tryToFixConversion()
DDeclSpec.cpp952 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()
DSemaLambda.cpp931 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition()
941 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition()
1013 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition()
1018 << FixItHint::CreateRemoval( in ActOnStartOfLambdaDefinition()
1051 << 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.cpp1532 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 …]
DSemaType.cpp734 << 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 …]
DSemaTemplate.cpp2556 << 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 …]
DSemaExprMember.cpp1289 << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
1443 << 0 << SS.getScopeRep() << FixItHint::CreateRemoval(SS.getRange()); in LookupMemberExpr()
DSemaChecking.cpp3443 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()
DSemaDeclObjC.cpp654 << 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()
DSemaDeclCXX.cpp1915 << "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()
DSemaInit.cpp886 << 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()
DSemaExprCXX.cpp1498 << FixItHint::CreateRemoval(TypeIdParens.getBegin()) in BuildCXXNew()
1499 << FixItHint::CreateRemoval(TypeIdParens.getEnd()); in BuildCXXNew()
2565 H = FixItHint::CreateRemoval(SourceRange(EndOfDelete, RSquare)); in DiagnoseMismatchedNewDelete()
DSemaExpr.cpp4873 << 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/
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()
1551 << 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()
1327 << FixItHint::CreateRemoval(RemovalRange); in ParseSimpleAsm()
DRAIIObjectsForParser.h435 << Close << FixItHint::CreateRemoval(SourceRange(SemiLoc, SemiLoc)); in consumeClose()
DParseDecl.cpp1371 << 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()
DParseExprCXX.cpp141 << FixItHint::CreateRemoval(LParen.getLocation()) in CheckForLParenAfterColonColon()
142 << FixItHint::CreateRemoval(RParen.getLocation()); in CheckForLParenAfterColonColon()
2452 << FixItHint::CreateRemoval( in ParseUnqualifiedId()
2553 << FixItHint::CreateRemoval(TildeLoc) in ParseUnqualifiedId()
DParseTemplate.cpp261 << FixItHint::CreateRemoval(DS.getStorageClassSpecLoc()); in ParseSingleDeclarationAfterTemplate()
720 << FixItHint::CreateRemoval(EllipsisLoc) << Insertion in DiagnoseMisplacedEllipsis()
DParseObjc.cpp2130 << FixItHint::CreateRemoval(SourceRange(lAngleLoc, rAngleLoc)); in ParseObjCAtImplementationDeclaration()
2652 << FixItHint::CreateRemoval(Tok.getLocation()); in ParseObjCMethodDefinition()
3213 FixItHint::CreateRemoval(commaLoc); in ParseObjCMessageExpressionBody()
DParseStmt.cpp1074 << FixItHint::CreateRemoval(Tok.getLocation()); in ParseParenExprOrCondition()
DParseExpr.cpp1580 << 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.cpp2848 << FixItHint::CreateRemoval(makeCharRange(*this, BufferPtr, CurPtr)); in LexUnicode()

12