/external/clang/lib/ARCMigrate/ |
D | TransformActions.cpp | 73 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()
|
D | Transforms.cpp | 143 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); in findSemiAfterLocation()
|
D | ObjCMT.cpp | 265 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/ |
D | Lexer.h | 322 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset, 333 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts); in getAsCharRange()
|
D | Preprocessor.h | 1463 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) { 1464 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 661 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()
|
D | Lexer.cpp | 761 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/ |
D | SemaLambda.cpp | 935 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()
|
D | SemaFixItUtils.cpp | 61 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
|
D | Sema.cpp | 46 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()
|
D | SemaStmtAttr.cpp | 34 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
|
D | AnalysisBasedWarnings.cpp | 92 Close = S.getLocForEndOfToken(Close); in HandleUnreachable() 636 SourceLocation Loc = S.getLocForEndOfToken(VD->getLocEnd()); in SuggestInitializationFixit() 659 SourceLocation ElseKwLoc = S.getLocForEndOfToken(Then->getLocEnd()); in CreateIfFixit()
|
D | SemaDeclObjC.cpp | 608 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()
|
D | SemaExprObjC.cpp | 1092 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()
|
D | SemaExpr.cpp | 480 = 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 …]
|
D | SemaExceptionSpec.cpp | 354 FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); in CheckEquivalentExceptionSpec()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 723 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()
|
D | Parser.cpp | 110 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()
|
D | ParseExpr.cpp | 1758 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()
|
D | ParseDecl.cpp | 2004 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()
|
D | ParseDeclCXX.cpp | 1670 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()
|
D | ParseCXXInlineMethods.cpp | 647 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
|
D | ParseTemplate.cpp | 279 = PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseSingleDeclarationAfterTemplate()
|
/external/clang/lib/Edit/ |
D | Commit.cpp | 269 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
|
/external/v8/tools/clang/base_bind_rewriters/ |
D | BaseBindRewriters.cpp | 488 clang::Lexer::getLocForEndOfToken(target->getLocEnd(), 0, in run()
|