| /NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| HD | 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() 590 SourceLocation TransformActionsImpl::getLocForEndOfToken(SourceLocation loc, in getLocForEndOfToken() function in TransformActionsImpl 595 return PP.getLocForEndOfToken(loc); in getLocForEndOfToken()
|
| HD | Transforms.cpp | 145 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); in findSemiAfterLocation()
|
| HD | ObjCMT.cpp | 274 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax() 304 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax() 1426 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Lex/ |
| HD | Lexer.h | 322 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset, 333 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts); in getAsCharRange()
|
| HD | Preprocessor.h | 1430 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) { 1431 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
|
| /NextBSD/contrib/llvm/tools/clang/lib/Lex/ |
| HD | PPMacroExpansion.cpp | 659 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens() 677 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens() 1284 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon() 1347 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon() 1742 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro() 1767 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
|
| HD | 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()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaLambda.cpp | 969 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 979 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1033 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1038 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1071 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
|
| HD | SemaFixItUtils.cpp | 61 const SourceLocation End = S.PP.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
|
| HD | SemaStmtAttr.cpp | 32 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
|
| HD | 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() 1446 SourceLocation ParenInsertionLoc = PP.getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
|
| HD | AnalysisBasedWarnings.cpp | 93 Close = S.getLocForEndOfToken(Close); in HandleUnreachable() 623 SourceLocation Loc = S.getLocForEndOfToken(VD->getLocEnd()); in SuggestInitializationFixit() 646 SourceLocation ElseKwLoc = Lexer::getLocForEndOfToken( in CreateIfFixit()
|
| HD | SemaDeclObjC.cpp | 611 SourceLocation starLoc = PP.getLocForEndOfToken( in actOnObjCTypeParam() 740 diagLoc = S.PP.getLocForEndOfToken(newTypeParams->back()->getLocEnd()); in checkTypeParamListConsistency() 855 = S.PP.getLocForEndOfToken(newTypeParam->getLocation()); in checkTypeParamListConsistency() 1392 PP.getLocForEndOfToken(firstClassNameLoc), " *"); in actOnObjCTypeArgsOrProtocolQualifiers() 1472 SourceLocation starLoc = PP.getLocForEndOfToken(loc); in actOnObjCTypeArgsOrProtocolQualifiers() 3637 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
|
| HD | SemaExprObjC.cpp | 1095 PP.getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression() 3400 S.PP.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3433 S.PP.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3501 SourceLocation afterLParen = S.PP.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion() 3904 SourceLocation SrcExprEndLoc = PP.getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions() 3929 SourceLocation SrcExprEndLoc = PP.getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions()
|
| HD | SemaExpr.cpp | 467 = PP.getLocForEndOfToken(sentinelExpr->getLocEnd()); in DiagnoseSentinelCalls() 582 SourceLocation RHSLocEnd = S.PP.getLocForEndOfToken(RHS->getLocEnd()); in DiagnoseDirectIsaAccess() 6361 SourceLocation EndLoc = Self.PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 7672 SourceLocation EndLoc = Self.PP.getLocForEndOfToken(RHSExpr->getLocEnd()); in diagnoseStringPlusInt() 7722 SourceLocation EndLoc = Self.PP.getLocForEndOfToken(RHSExpr->getLocEnd()); in diagnoseStringPlusChar() 8368 SourceLocation End = S.PP.getLocForEndOfToken(RHS.get()->getLocEnd()); in diagnoseObjCLiteralComparison() 8370 CharSourceRange::getCharRange(Loc, S.PP.getLocForEndOfToken(Loc)); in diagnoseObjCLiteralComparison() 8404 FirstClose = S.getPreprocessor().getLocForEndOfToken(FirstClose); in diagnoseLogicalNotOnLHSofComparison() 8414 SecondClose = S.getPreprocessor().getLocForEndOfToken(SecondClose); in diagnoseLogicalNotOnLHSofComparison() 8975 Loc, Lexer::getLocForEndOfToken(Loc, 0, getSourceManager(), in CheckLogicalOperands() [all …]
|
| HD | SemaExceptionSpec.cpp | 327 FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); in CheckEquivalentExceptionSpec()
|
| HD | DeclSpec.cpp | 1078 PP.getLocForEndOfToken(getTypeSpecComplexLoc()), in Finish()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Parse/ |
| HD | ParseStmt.cpp | 701 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() 742 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseCaseStatement() 778 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() 792 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseDefaultStatement()
|
| HD | ParseExpr.cpp | 1678 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait() 1679 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait() 1768 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression() 1776 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression() 1777 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
|
| HD | Parser.cpp | 110 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 158 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() 1291 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm() 1292 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
|
| HD | ParseDeclCXX.cpp | 1619 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier() 2762 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification() 2882 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification() 3097 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace() 3157 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
|
| HD | ParseDecl.cpp | 1973 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes() 2580 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getLocEnd()), in DiagnoseMissingSemiAfterTagDefinition() 4128 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseEnumBody() 5238 Diag(PP.getLocForEndOfToken(D.getEllipsisLoc()), in ParseDirectDeclarator() 5256 Diag(PP.getLocForEndOfToken(Loc), diag::err_expected_unqualified_id) in ParseDirectDeclarator() 6087 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getLocEnd()); in ParseMisplacedBracketDeclarator() 6109 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getLocEnd()); in ParseMisplacedBracketDeclarator()
|
| HD | ParseCXXInlineMethods.cpp | 636 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
|
| HD | ParseTemplate.cpp | 274 = PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseSingleDeclarationAfterTemplate()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Edit/ |
| HD | Commit.cpp | 269 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
|