Home
last modified time | relevance | path

Searched refs:getLocForEndOfToken (Results 1 – 25 of 40) 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()
591 SourceLocation TransformActionsImpl::getLocForEndOfToken(SourceLocation loc, in getLocForEndOfToken() function in TransformActionsImpl
596 return PP.getLocForEndOfToken(loc); in getLocForEndOfToken()
DTransforms.cpp144 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); in findSemiAfterLocation()
/external/clang/lib/Lex/
DPPMacroExpansion.cpp467 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()
DLexer.cpp765 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/
DSemaLambda.cpp968 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()
DSemaFixItUtils.cpp61 const SourceLocation End = S.PP.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
DSemaStmtAttr.cpp32 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
DSema.cpp47 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()
DAnalysisBasedWarnings.cpp93 Close = S.getLocForEndOfToken(Close); in HandleUnreachable()
628 SourceLocation Loc = S.getLocForEndOfToken(VD->getLocEnd()); in SuggestInitializationFixit()
651 SourceLocation ElseKwLoc = Lexer::getLocForEndOfToken( in CreateIfFixit()
DSemaExprObjC.cpp972 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()
DSemaExceptionSpec.cpp300 FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); in CheckEquivalentExceptionSpec()
DSemaExpr.cpp405 = 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 …]
DDeclSpec.cpp1039 PP.getLocForEndOfToken(getTypeSpecComplexLoc()), in Finish()
DSemaChecking.cpp2923 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/
DParseExpr.cpp1502 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()
DParseStmt.cpp684 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()
DParser.cpp90 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()
DParseDecl.cpp1781 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()
DParseCXXInlineMethods.cpp542 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
DParseDeclCXX.cpp1538 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier()
2770 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace()
2828 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
DParseTemplate.cpp244 = PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseSingleDeclarationAfterTemplate()
/external/clang/include/clang/Lex/
DLexer.h322 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset,
DPreprocessor.h1126 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) {
1127 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
/external/clang/lib/Edit/
DCommit.cpp269 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
/external/chromium_org/tools/clang/plugins/
DFindBadConstructsConsumer.cpp326 Lexer::getLocForEndOfToken(spelling_end, 0, manager, LangOptions()); in CheckOverriddenMethod()

12