| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/ |
| H A D | RecursiveSymbolVisitor.h | 55 Lexer::getLocForEndOfToken(Initializer->getSourceLocation(), in VisitCXXConstructorDecl() 90 Lexer::getLocForEndOfToken(TypeBeginLoc, 0, SM, LangOpts); in VisitTypeLoc()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A 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() 590 SourceLocation TransformActionsImpl::getLocForEndOfToken(SourceLocation loc, in getLocForEndOfToken() function in TransformActionsImpl 599 return PP.getLocForEndOfToken(loc); in getLocForEndOfToken()
|
| H A D | Transforms.cpp | 138 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); in findSemiAfterLocation()
|
| H A D | ObjCMT.cpp | 265 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax() 295 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax() 1404 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/ |
| H A D | Lexer.h | 372 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset, 383 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts); in getAsCharRange()
|
| H A D | Preprocessor.h | 1673 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) { 1674 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 977 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1063 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1068 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1101 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1568 getLocForEndOfToken(CaptureRange.getEnd())); in BuildLambdaExpr() 1571 FixItRange = SourceRange(getLocForEndOfToken(PrevCaptureLoc), in BuildLambdaExpr() 1595 getLocForEndOfToken(CaptureDefaultLoc), ", this"); in BuildLambdaExpr()
|
| H A D | SemaFixItUtils.cpp | 61 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
|
| H A D | SemaStmtAttr.cpp | 33 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
|
| H A 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() 1834 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
|
| H A D | AnalysisBasedWarnings.cpp | 97 Close = S.getLocForEndOfToken(Close); in HandleUnreachable() 754 SourceLocation Loc = S.getLocForEndOfToken(VD->getEndLoc()); in SuggestInitializationFixit() 776 SourceLocation ElseKwLoc = S.getLocForEndOfToken(Then->getEndLoc()); in CreateIfFixit()
|
| H A D | SemaExprObjC.cpp | 1097 getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression() 3584 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3617 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3687 SourceLocation afterLParen = S.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion() 4105 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions() 4133 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
|
| H A D | SemaDeclObjC.cpp | 680 SourceLocation starLoc = getLocForEndOfToken( in actOnObjCTypeParam() 834 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getEndLoc()); in checkTypeParamListConsistency() 949 = S.getLocForEndOfToken(newTypeParam->getLocation()); in checkTypeParamListConsistency() 1501 << FixItHint::CreateInsertion(getLocForEndOfToken(firstClassNameLoc), in actOnObjCTypeArgsOrProtocolQualifiers() 1582 SourceLocation starLoc = getLocForEndOfToken(loc); in actOnObjCTypeArgsOrProtocolQualifiers() 4017 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
|
| H A D | SemaExpr.cpp | 410 SourceLocation MissingNilLoc = getLocForEndOfToken(sentinelExpr->getEndLoc()); in DiagnoseSentinelCalls() 524 SourceLocation RHSLocEnd = S.getLocForEndOfToken(RHS->getEndLoc()); in DiagnoseDirectIsaAccess() 7300 SourceLocation EndLoc = Self.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 9157 SourceLocation EndLoc = Self.getLocForEndOfToken(RHSExpr->getEndLoc()); in diagnoseStringPlusInt() 9207 SourceLocation EndLoc = Self.getLocForEndOfToken(RHSExpr->getEndLoc()); in diagnoseStringPlusChar() 9886 SourceLocation End = S.getLocForEndOfToken(RHS.get()->getEndLoc()); in diagnoseObjCLiteralComparison() 9888 CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc)); in diagnoseObjCLiteralComparison() 9920 FirstClose = S.getLocForEndOfToken(FirstClose); in diagnoseLogicalNotOnLHSofCheck() 9931 SecondClose = S.getLocForEndOfToken(SecondClose); in diagnoseLogicalNotOnLHSofCheck() 10868 SourceRange(getLocForEndOfToken(LHS.get()->getEndLoc()), in CheckLogicalOperands() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | PPMacroExpansion.cpp | 704 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens() 722 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens() 1160 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon() 1223 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon() 1755 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro() 1780 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
|
| H A D | Lexer.cpp | 771 SourceLocation Lexer::getLocForEndOfToken(SourceLocation Loc, unsigned Offset, in getLocForEndOfToken() function in Lexer 848 End = Lexer::getLocForEndOfToken(End, 0, SM,LangOpts); in makeRangeFromFileLocs() 1237 Loc = Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts); in findNextToken()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 727 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() 769 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseCaseStatement() 805 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() 820 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseDefaultStatement()
|
| H A D | Parser.cpp | 89 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 137 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() 1422 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm() 1423 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
|
| H A D | ParseExpr.cpp | 1890 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait() 1891 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait() 1980 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression() 1988 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression() 1989 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
|
| H A D | ParseDeclCXX.cpp | 1824 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier() 2989 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification() 3206 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification() 3333 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace() 3394 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
|
| H A D | ParseDecl.cpp | 2231 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes() 2866 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getEndLoc()), in DiagnoseMissingSemiAfterTagDefinition() 5685 Diag(PP.getLocForEndOfToken(D.getCXXScopeSpec().getEndLoc()), in ParseDirectDeclarator() 5769 Diag(PP.getLocForEndOfToken(D.getEllipsisLoc()), in ParseDirectDeclarator() 5802 Diag(PP.getLocForEndOfToken(Loc), diag::err_expected_unqualified_id) in ParseDirectDeclarator() 6710 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator() 6730 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator()
|
| H A D | ParseCXXInlineMethods.cpp | 639 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/ |
| H A D | Commit.cpp | 273 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 145 End = Lexer::getLocForEndOfToken(End, 0, SM, Context.getLangOpts()); in selectionKindFor()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 90 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in checkAndAddLocation()
|