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()
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.cpp264 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/
DLexer.h322 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset,
333 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts); in getAsCharRange()
DPreprocessor.h1435 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) {
1436 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
/external/clang/lib/Lex/
DPPMacroExpansion.cpp663 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()
DLexer.cpp759 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/
DSemaLambda.cpp932 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()
DSemaFixItUtils.cpp61 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
DSemaStmtAttr.cpp32 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
DSema.cpp46 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()
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.cpp609 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()
DSemaExprObjC.cpp1095 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()
DSemaExceptionSpec.cpp348 FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); in CheckEquivalentExceptionSpec()
DSemaExpr.cpp468 = 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 …]
DDeclSpec.cpp1074 S.getLocForEndOfToken(getTypeSpecComplexLoc()), in Finish()
/external/clang/lib/Parse/
DParseExpr.cpp1710 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()
DParser.cpp110 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()
DParseStmt.cpp710 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()
DParseDeclCXX.cpp1655 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()
DParseDecl.cpp1968 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()
DParseCXXInlineMethods.cpp638 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
DParseTemplate.cpp274 = PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseSingleDeclarationAfterTemplate()
/external/clang/lib/Edit/
DCommit.cpp269 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()

12