Home
last modified time | relevance | path

Searched refs:getLocForEndOfToken (Results 1 – 25 of 42) sorted by relevance

12

/external/clang/lib/ARCMigrate/
DTransformActions.cpp73 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange()
178 static SourceLocation getLocForEndOfToken(SourceLocation loc,
442 addInsertion(getLocForEndOfToken(loc, Ctx.getSourceManager(), PP), text); in commitInsertAfterToken()
475 getLocForEndOfToken(replacementRange.getEnd(), in commitReplace()
589 SourceLocation TransformActionsImpl::getLocForEndOfToken(SourceLocation loc, in getLocForEndOfToken() function in TransformActionsImpl
594 return PP.getLocForEndOfToken(loc); in getLocForEndOfToken()
DTransforms.cpp143 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); in findSemiAfterLocation()
DObjCMT.cpp265 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax()
295 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax()
1414 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
/external/clang/include/clang/Lex/
DLexer.h322 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset,
333 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts); in getAsCharRange()
DPreprocessor.h1463 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) {
1464 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
/external/clang/lib/Lex/
DPPMacroExpansion.cpp661 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens()
679 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens()
1300 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon()
1363 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon()
1816 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro()
1841 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
DLexer.cpp761 SourceLocation Lexer::getLocForEndOfToken(SourceLocation Loc, unsigned Offset, in getLocForEndOfToken() function in Lexer
838 End = Lexer::getLocForEndOfToken(End, 0, SM,LangOpts); in makeRangeFromFileLocs()
1192 Loc = Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts); in findLocationAfterToken()
/external/clang/lib/Sema/
DSemaLambda.cpp935 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
947 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1021 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1026 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1059 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
DSemaFixItUtils.cpp61 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
DSema.cpp46 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken() function in Sema
47 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); in getLocForEndOfToken()
1467 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
DSemaStmtAttr.cpp34 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
DAnalysisBasedWarnings.cpp92 Close = S.getLocForEndOfToken(Close); in HandleUnreachable()
636 SourceLocation Loc = S.getLocForEndOfToken(VD->getLocEnd()); in SuggestInitializationFixit()
659 SourceLocation ElseKwLoc = S.getLocForEndOfToken(Then->getLocEnd()); in CreateIfFixit()
DSemaDeclObjC.cpp608 SourceLocation starLoc = getLocForEndOfToken( in actOnObjCTypeParam()
761 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getLocEnd()); in checkTypeParamListConsistency()
876 = S.getLocForEndOfToken(newTypeParam->getLocation()); in checkTypeParamListConsistency()
1418 << FixItHint::CreateInsertion(getLocForEndOfToken(firstClassNameLoc), in actOnObjCTypeArgsOrProtocolQualifiers()
1499 SourceLocation starLoc = getLocForEndOfToken(loc); in actOnObjCTypeArgsOrProtocolQualifiers()
3835 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
DSemaExprObjC.cpp1092 getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression()
3431 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3464 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3534 SourceLocation afterLParen = S.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion()
3945 SourceLocation SrcExprEndLoc = getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions()
3972 getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions()
DSemaExpr.cpp480 = getLocForEndOfToken(sentinelExpr->getLocEnd()); in DiagnoseSentinelCalls()
602 SourceLocation RHSLocEnd = S.getLocForEndOfToken(RHS->getLocEnd()); in DiagnoseDirectIsaAccess()
6892 SourceLocation EndLoc = Self.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
8279 SourceLocation EndLoc = Self.getLocForEndOfToken(RHSExpr->getLocEnd()); in diagnoseStringPlusInt()
8329 SourceLocation EndLoc = Self.getLocForEndOfToken(RHSExpr->getLocEnd()); in diagnoseStringPlusChar()
8976 SourceLocation End = S.getLocForEndOfToken(RHS.get()->getLocEnd()); in diagnoseObjCLiteralComparison()
8978 CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc)); in diagnoseObjCLiteralComparison()
9009 FirstClose = S.getLocForEndOfToken(FirstClose); in diagnoseLogicalNotOnLHSofComparison()
9019 SecondClose = S.getLocForEndOfToken(SecondClose); in diagnoseLogicalNotOnLHSofComparison()
9583 Loc, getLocForEndOfToken(Loc)), in CheckLogicalOperands()
[all …]
DSemaExceptionSpec.cpp354 FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); in CheckEquivalentExceptionSpec()
/external/clang/lib/Parse/
DParseStmt.cpp723 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement()
766 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseCaseStatement()
802 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement()
817 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseDefaultStatement()
DParser.cpp110 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
158 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume()
1349 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm()
1350 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
DParseExpr.cpp1758 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait()
1759 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait()
1848 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
1856 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression()
1857 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
DParseDecl.cpp2004 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes()
2629 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getLocEnd()), in DiagnoseMissingSemiAfterTagDefinition()
4228 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseEnumBody()
5309 Diag(PP.getLocForEndOfToken(D.getCXXScopeSpec().getEndLoc()), in ParseDirectDeclarator()
5363 Diag(PP.getLocForEndOfToken(D.getEllipsisLoc()), in ParseDirectDeclarator()
5381 Diag(PP.getLocForEndOfToken(Loc), diag::err_expected_unqualified_id) in ParseDirectDeclarator()
6216 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getLocEnd()); in ParseMisplacedBracketDeclarator()
6238 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getLocEnd()); in ParseMisplacedBracketDeclarator()
DParseDeclCXX.cpp1670 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier()
2824 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification()
3039 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification()
3168 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace()
3229 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
DParseCXXInlineMethods.cpp647 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
DParseTemplate.cpp279 = PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseSingleDeclarationAfterTemplate()
/external/clang/lib/Edit/
DCommit.cpp269 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
/external/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp488 clang::Lexer::getLocForEndOfToken(target->getLocEnd(), 0, in run()

12