/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 | 264 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax() 294 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 | 1435 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) { 1436 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 663 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens() 681 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens() 1291 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon() 1354 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon() 1756 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro() 1781 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
|
D | Lexer.cpp | 759 SourceLocation Lexer::getLocForEndOfToken(SourceLocation Loc, unsigned Offset, in getLocForEndOfToken() function in Lexer 836 End = Lexer::getLocForEndOfToken(End, 0, SM,LangOpts); in makeRangeFromFileLocs() 1165 Loc = Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts); in findLocationAfterToken()
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 932 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 942 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1014 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1019 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1052 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
|
D | SemaFixItUtils.cpp | 61 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
|
D | SemaStmtAttr.cpp | 32 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
|
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() 1474 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
|
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 | 609 SourceLocation starLoc = getLocForEndOfToken( in actOnObjCTypeParam() 762 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getLocEnd()); in checkTypeParamListConsistency() 877 = S.getLocForEndOfToken(newTypeParam->getLocation()); in checkTypeParamListConsistency() 1409 << FixItHint::CreateInsertion(getLocForEndOfToken(firstClassNameLoc), in actOnObjCTypeArgsOrProtocolQualifiers() 1490 SourceLocation starLoc = getLocForEndOfToken(loc); in actOnObjCTypeArgsOrProtocolQualifiers() 3686 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
|
D | SemaExprObjC.cpp | 1095 getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression() 3402 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3435 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3503 SourceLocation afterLParen = S.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion() 3906 SourceLocation SrcExprEndLoc = getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions() 3931 SourceLocation SrcExprEndLoc = getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions()
|
D | SemaExceptionSpec.cpp | 348 FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); in CheckEquivalentExceptionSpec()
|
D | SemaExpr.cpp | 468 = getLocForEndOfToken(sentinelExpr->getLocEnd()); in DiagnoseSentinelCalls() 590 SourceLocation RHSLocEnd = S.getLocForEndOfToken(RHS->getLocEnd()); in DiagnoseDirectIsaAccess() 6504 SourceLocation EndLoc = Self.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 7843 SourceLocation EndLoc = Self.getLocForEndOfToken(RHSExpr->getLocEnd()); in diagnoseStringPlusInt() 7893 SourceLocation EndLoc = Self.getLocForEndOfToken(RHSExpr->getLocEnd()); in diagnoseStringPlusChar() 8540 SourceLocation End = S.getLocForEndOfToken(RHS.get()->getLocEnd()); in diagnoseObjCLiteralComparison() 8542 CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc)); in diagnoseObjCLiteralComparison() 8573 FirstClose = S.getLocForEndOfToken(FirstClose); in diagnoseLogicalNotOnLHSofComparison() 8583 SecondClose = S.getLocForEndOfToken(SecondClose); in diagnoseLogicalNotOnLHSofComparison() 9146 Loc, getLocForEndOfToken(Loc)), in CheckLogicalOperands() [all …]
|
D | DeclSpec.cpp | 1074 S.getLocForEndOfToken(getTypeSpecComplexLoc()), in Finish()
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 1710 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait() 1711 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait() 1800 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression() 1808 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression() 1809 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
|
D | Parser.cpp | 110 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 158 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() 1323 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm() 1324 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
|
D | ParseStmt.cpp | 710 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() 751 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseCaseStatement() 787 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() 801 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseDefaultStatement()
|
D | ParseDeclCXX.cpp | 1655 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier() 2804 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification() 3018 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification() 3147 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace() 3207 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
|
D | ParseDecl.cpp | 1968 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes() 2574 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getLocEnd()), in DiagnoseMissingSemiAfterTagDefinition() 4139 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseEnumBody() 5204 Diag(PP.getLocForEndOfToken(D.getCXXScopeSpec().getEndLoc()), in ParseDirectDeclarator() 5258 Diag(PP.getLocForEndOfToken(D.getEllipsisLoc()), in ParseDirectDeclarator() 5276 Diag(PP.getLocForEndOfToken(Loc), diag::err_expected_unqualified_id) in ParseDirectDeclarator() 6107 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getLocEnd()); in ParseMisplacedBracketDeclarator() 6129 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getLocEnd()); in ParseMisplacedBracketDeclarator()
|
D | ParseCXXInlineMethods.cpp | 638 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
|
D | ParseTemplate.cpp | 274 = PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseSingleDeclarationAfterTemplate()
|
/external/clang/lib/Edit/ |
D | Commit.cpp | 269 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
|