/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() 591 SourceLocation TransformActionsImpl::getLocForEndOfToken(SourceLocation loc, in getLocForEndOfToken() function in TransformActionsImpl 596 return PP.getLocForEndOfToken(loc); in getLocForEndOfToken()
|
D | Transforms.cpp | 144 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); in findSemiAfterLocation()
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 467 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens() 485 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens() 1070 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon() 1133 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon() 1487 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro() 1512 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
|
D | Lexer.cpp | 765 SourceLocation Lexer::getLocForEndOfToken(SourceLocation Loc, unsigned Offset, in getLocForEndOfToken() function in Lexer 842 End = Lexer::getLocForEndOfToken(End, 0, SM,LangOpts); in makeRangeFromFileLocs() 1171 Loc = Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts); in findLocationAfterToken()
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 968 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 978 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1032 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1037 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1070 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
|
D | SemaFixItUtils.cpp | 61 const SourceLocation End = S.PP.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
|
D | SemaStmtAttr.cpp | 32 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
|
D | Sema.cpp | 47 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken() function in Sema 48 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); in getLocForEndOfToken() 1398 SourceLocation ParenInsertionLoc = PP.getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
|
D | AnalysisBasedWarnings.cpp | 93 Close = S.getLocForEndOfToken(Close); in HandleUnreachable() 628 SourceLocation Loc = S.getLocForEndOfToken(VD->getLocEnd()); in SuggestInitializationFixit() 651 SourceLocation ElseKwLoc = Lexer::getLocForEndOfToken( in CreateIfFixit()
|
D | SemaExprObjC.cpp | 972 PP.getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression() 3097 S.PP.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3130 S.PP.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3198 SourceLocation afterLParen = S.PP.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion() 3594 SourceLocation SrcExprEndLoc = PP.getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions() 3619 SourceLocation SrcExprEndLoc = PP.getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions()
|
D | SemaExceptionSpec.cpp | 300 FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); in CheckEquivalentExceptionSpec()
|
D | SemaExpr.cpp | 405 = PP.getLocForEndOfToken(sentinelExpr->getLocEnd()); in DiagnoseSentinelCalls() 519 SourceLocation RHSLocEnd = S.PP.getLocForEndOfToken(RHS->getLocEnd()); in DiagnoseDirectIsaAccess() 5952 SourceLocation EndLoc = Self.PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 7184 SourceLocation EndLoc = Self.PP.getLocForEndOfToken(RHSExpr->getLocEnd()); in diagnoseStringPlusInt() 7234 SourceLocation EndLoc = Self.PP.getLocForEndOfToken(RHSExpr->getLocEnd()); in diagnoseStringPlusChar() 7788 SourceLocation End = S.PP.getLocForEndOfToken(RHS.get()->getLocEnd()); in diagnoseObjCLiteralComparison() 7790 CharSourceRange::getCharRange(Loc, S.PP.getLocForEndOfToken(Loc)); in diagnoseObjCLiteralComparison() 7824 FirstClose = S.getPreprocessor().getLocForEndOfToken(FirstClose); in diagnoseLogicalNotOnLHSofComparison() 7834 SecondClose = S.getPreprocessor().getLocForEndOfToken(SecondClose); in diagnoseLogicalNotOnLHSofComparison() 8382 Loc, Lexer::getLocForEndOfToken(Loc, 0, getSourceManager(), in CheckLogicalOperands() [all …]
|
D | DeclSpec.cpp | 1039 PP.getLocForEndOfToken(getTypeSpecComplexLoc()), in Finish()
|
D | SemaChecking.cpp | 2923 SourceLocation EndLoc = S.getLocForEndOfToken(E->getLocEnd()); in checkForCStrMembers() 3259 SourceLocation After = S.getLocForEndOfToken(E->getLocEnd()); in checkFormatExpr() 3987 S.getLocForEndOfToken(Size->getLHS()->getLocEnd()), ")") in CheckMemorySizeofForComparison() 3991 << FixItHint::CreateInsertion(S.getLocForEndOfToken(SizeRange.getEnd()), in CheckMemorySizeofForComparison() 6369 << FixItHint::CreateInsertion(getLocForEndOfToken(E->getLocEnd()), "()"); in DiagnoseAlwaysNonNullPointer()
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 1502 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait() 1503 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait() 1592 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression() 1600 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression() 1601 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
|
D | ParseStmt.cpp | 684 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() 725 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseCaseStatement() 761 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() 775 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseDefaultStatement()
|
D | Parser.cpp | 90 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 138 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() 1255 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm() 1256 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
|
D | ParseDecl.cpp | 1781 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes() 2386 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getLocEnd()), in DiagnoseMissingSemiAfterTagDefinition() 3831 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseEnumBody() 4852 Diag(PP.getLocForEndOfToken(D.getEllipsisLoc()), in ParseDirectDeclarator() 4870 Diag(PP.getLocForEndOfToken(Loc), diag::err_expected_unqualified_id) in ParseDirectDeclarator() 5636 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getLocEnd()); in ParseMisplacedBracketDeclarator() 5658 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getLocEnd()); in ParseMisplacedBracketDeclarator()
|
D | ParseCXXInlineMethods.cpp | 542 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
|
D | ParseDeclCXX.cpp | 1538 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier() 2770 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace() 2828 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
|
D | ParseTemplate.cpp | 244 = PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseSingleDeclarationAfterTemplate()
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 322 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset,
|
D | Preprocessor.h | 1126 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) { 1127 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
|
/external/clang/lib/Edit/ |
D | Commit.cpp | 269 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
|
/external/chromium_org/tools/clang/plugins/ |
D | FindBadConstructsConsumer.cpp | 326 Lexer::getLocForEndOfToken(spelling_end, 0, manager, LangOptions()); in CheckOverriddenMethod()
|