| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
| H A D | RecursiveSymbolVisitor.h | 54 Lexer::getLocForEndOfToken(Initializer->getSourceLocation(), in VisitCXXConstructorDecl() 89 Lexer::getLocForEndOfToken(TypeBeginLoc, 0, SM, LangOpts); in VisitTypeLoc() 110 Lexer::getLocForEndOfToken(TL.getBeginLoc(), 0, SM, LangOpts); in VisitTypedefTypeLoc() 146 return visit(ND, Loc, Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts)); in visit()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransformActions.cpp | 72 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange() 177 static SourceLocation getLocForEndOfToken(SourceLocation loc, 443 addInsertion(getLocForEndOfToken(loc, Ctx.getSourceManager(), PP), text); in commitInsertAfterToken() 476 getLocForEndOfToken(replacementRange.getEnd(), in commitReplace() 591 SourceLocation TransformActionsImpl::getLocForEndOfToken(SourceLocation loc, in getLocForEndOfToken() function in TransformActionsImpl 600 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 | 268 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax() 298 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax() 1405 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | Lexer.h | 390 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset, 401 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts); in getAsCharRange()
|
| H A D | Preprocessor.h | 1831 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) { 1832 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 291 Lexer::getLocForEndOfToken(TD->getInnerLocStart(), 0, SM, LangOpts); in createAttributeInsertion() 497 CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc)); in DoEmitAvailabilityWarning() 509 Locs[I], S.getLocForEndOfToken(Locs[I])); in DoEmitAvailabilityWarning() 832 Lexer::getLocForEndOfToken(StmtEndLoc, 0, SM, SemaRef.getLangOpts()); in DiagnoseDeclAvailability()
|
| H A D | SemaLambda.cpp | 1056 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1145 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1150 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1183 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1819 getLocForEndOfToken(CaptureRange.getEnd())); in BuildLambdaExpr() 1822 FixItRange = SourceRange(getLocForEndOfToken(PrevCaptureLoc), in BuildLambdaExpr() 1847 getLocForEndOfToken(CaptureDefaultLoc), ", this"); in BuildLambdaExpr()
|
| H A D | SemaFixItUtils.cpp | 60 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
|
| H A D | SemaStmtAttr.cpp | 32 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
|
| H A D | SemaExprObjC.cpp | 1170 getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression() 3806 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3839 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3912 SourceLocation afterLParen = S.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion() 4330 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions() 4358 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
|
| H A D | Sema.cpp | 54 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken() function in Sema 55 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); in getLocForEndOfToken() 2479 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
|
| H A D | AnalysisBasedWarnings.cpp | 98 Close = S.getLocForEndOfToken(Close); in HandleUnreachable() 774 SourceLocation Loc = S.getLocForEndOfToken(VD->getEndLoc()); in SuggestInitializationFixit() 796 SourceLocation ElseKwLoc = S.getLocForEndOfToken(Then->getEndLoc()); in CreateIfFixit()
|
| H A D | SemaDeclObjC.cpp | 684 SourceLocation starLoc = getLocForEndOfToken( in actOnObjCTypeParam() 838 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getEndLoc()); in checkTypeParamListConsistency() 952 = S.getLocForEndOfToken(newTypeParam->getLocation()); in checkTypeParamListConsistency() 1513 << FixItHint::CreateInsertion(getLocForEndOfToken(firstClassNameLoc), in actOnObjCTypeArgsOrProtocolQualifiers() 1594 SourceLocation starLoc = getLocForEndOfToken(loc); in actOnObjCTypeArgsOrProtocolQualifiers() 4120 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPMacroExpansion.cpp | 716 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens() 734 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens() 1183 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon() 1215 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon() 1795 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro() 1827 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 281 PP.getLocForEndOfToken(E.get()->getEndLoc()), ")") in ParseConstraintLogicalAndExpression() 1806 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(PrevTokLocation), in ParseCastExpression() 2272 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait() 2273 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait() 2394 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression() 2402 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression() 2403 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
|
| H A D | Parser.cpp | 89 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 137 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() 252 SourceLocation SpaceLoc = PP.getLocForEndOfToken(FirstTokLoc); in checkCompoundToken() 1561 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm() 1562 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
|
| H A D | ParseStmt.cpp | 772 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement() 812 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseCaseStatement() 853 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement() 867 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseDefaultStatement()
|
| H A D | ParseDeclCXX.cpp | 1929 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier() 3166 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification() 3425 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification() 3555 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace() 3617 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
|
| H A D | ParseDecl.cpp | 2307 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes() 2983 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getEndLoc()), in DiagnoseMissingSemiAfterTagDefinition() 6068 Diag(PP.getLocForEndOfToken(D.getCXXScopeSpec().getEndLoc()), in ParseDirectDeclarator() 6152 Diag(PP.getLocForEndOfToken(D.getEllipsisLoc()), in ParseDirectDeclarator() 6185 Diag(PP.getLocForEndOfToken(Loc), diag::err_expected_unqualified_id) in ParseDirectDeclarator() 7196 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator() 7216 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator()
|
| /freebsd-13.1/contrib/llvm-project/lldb/tools/lldb-instr/ |
| H A D | Instrument.cpp | 240 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in VisitCXXMethodDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Edit/ |
| H A D | Commit.cpp | 272 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 143 End = Lexer::getLocForEndOfToken(End, 0, SM, Context.getLangOpts()); in selectionKindFor()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 90 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in checkAndAddLocation()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DeadStoresChecker.cpp | 238 Lexer::getLocForEndOfToken(V->getInit()->getEndLoc(), 1, SM, LO); in Report()
|