| /src/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() 147 return visit(ND, Loc, Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts)); in visit()
|
| /src/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 | 137 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() 1399 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
|
| /src/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | Lexer.h | 422 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset, 433 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts); in getAsCharRange()
|
| /src/contrib/llvm-project/lldb/tools/lldb-instr/ |
| H A D | Instrument.cpp | 64 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in VisitCXXMethodDecl()
|
| /src/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPMacroExpansion.cpp | 724 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens() 742 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens() 1218 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon() 1250 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon() 1330 Diag(this->getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasEmbed() 2002 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro() 2035 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 369 Lexer::getLocForEndOfToken(TD->getInnerLocStart(), 0, SM, LangOpts); in createAttributeInsertion() 590 CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc)); in DoEmitAvailabilityWarning() 602 Locs[I], S.getLocForEndOfToken(Locs[I])); in DoEmitAvailabilityWarning() 955 Lexer::getLocForEndOfToken(StmtEndLoc, 0, SM, SemaRef.getLangOpts()); in DiagnoseDeclAvailability()
|
| H A D | SemaLambda.cpp | 1135 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnLambdaExpressionAfterIntroducer() 1222 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnLambdaExpressionAfterIntroducer() 1227 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnLambdaExpressionAfterIntroducer() 1278 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnLambdaExpressionAfterIntroducer() 2140 getLocForEndOfToken(CaptureRange.getEnd())); in BuildLambdaExpr() 2143 FixItRange = SourceRange(getLocForEndOfToken(PrevCaptureLoc), in BuildLambdaExpr() 2168 getLocForEndOfToken(CaptureDefaultLoc), ", this"); in BuildLambdaExpr()
|
| H A D | SemaFixItUtils.cpp | 60 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
|
| H A D | SemaExprObjC.cpp | 1177 EncodedType, SemaRef.getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression() 3814 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3847 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3920 SourceLocation afterLParen = S.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion() 4334 SemaRef.getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions() 4362 SemaRef.getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
|
| H A D | Sema.cpp | 83 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken() function in Sema 84 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); in getLocForEndOfToken() 2671 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
|
| H A D | AnalysisBasedWarnings.cpp | 113 Close = S.getLocForEndOfToken(Close); in HandleUnreachable() 801 SourceLocation Loc = S.getLocForEndOfToken(VD->getEndLoc()); in SuggestInitializationFixit() 823 SourceLocation ElseKwLoc = S.getLocForEndOfToken(Then->getEndLoc()); in CreateIfFixit()
|
| H A D | SemaDeclObjC.cpp | 683 SemaRef.getLocForEndOfToken(typeBoundInfo->getTypeLoc().getEndLoc()); in actOnObjCTypeParam() 838 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getEndLoc()); in checkTypeParamListConsistency() 952 = S.getLocForEndOfToken(newTypeParam->getLocation()); in checkTypeParamListConsistency() 1526 SemaRef.getLocForEndOfToken(firstClassNameLoc), " *"); in actOnObjCTypeArgsOrProtocolQualifiers() 1606 SourceLocation starLoc = SemaRef.getLocForEndOfToken(loc); in actOnObjCTypeArgsOrProtocolQualifiers() 4141 SourceLocation SuperClassLoc(SemaRef.getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SarifDiagnostics.cpp | 125 Lexer::getLocForEndOfToken(R.getEnd(), /* Offset = */ 0, SM, LO); in convertTokenRangeToCharRange()
|
| /src/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 312 PP.getLocForEndOfToken(E.get()->getEndLoc()), ")") in ParseConstraintLogicalAndExpression() 1939 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(PrevTokLocation), in ParseCastExpression() 2458 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait() 2459 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait() 2585 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression() 2593 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression() 2594 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
|
| H A D | Parser.cpp | 97 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 145 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() 260 SourceLocation SpaceLoc = PP.getLocForEndOfToken(FirstTokLoc); in checkCompoundToken() 1711 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm() 1712 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
|
| H A D | ParseDeclCXX.cpp | 2199 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier() 3506 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification() 3773 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification() 3902 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace() 3964 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer() 4641 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(E->getEndLoc()), in ParseCXXAssumeAttributeArg()
|
| H A D | ParseDecl.cpp | 2406 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclGroup() 2747 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes() 3531 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getEndLoc()), in DiagnoseMissingSemiAfterTagDefinition() 7002 Diag(PP.getLocForEndOfToken(D.getCXXScopeSpec().getEndLoc()), in ParseDirectDeclarator() 7087 Diag(PP.getLocForEndOfToken(D.getEllipsisLoc()), in ParseDirectDeclarator() 7123 Diag(PP.getLocForEndOfToken(Loc), diag::err_expected_unqualified_id) in ParseDirectDeclarator() 8263 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator() 8283 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator()
|
| /src/contrib/llvm-project/clang/lib/Edit/ |
| H A D | Commit.cpp | 272 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
|
| /src/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 144 End = Lexer::getLocForEndOfToken(End, 0, SM, Context.getLangOpts()); in selectionKindFor()
|
| /src/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 168 E = Lexer::getLocForEndOfToken(E, 0, SM, LangOpts); in getRange()
|
| /src/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UnsafeBufferUsage.cpp | 1756 Lexer::getLocForEndOfToken(Node->getEndLoc(), 0, SM, LangOpts); in getPastLoc() 1803 Lexer::getLocForEndOfToken(ParmIdentBeginLoc, 0, SM, LangOpts); in getVarDeclIdentifierText() 1843 Lexer::getLocForEndOfToken(D->getEndLoc(), 0, SM, LangOpts); in getSourceRangeToTokenEnd() 1901 Lexer::getLocForEndOfToken(PteTyLoc.getEndLoc(), 0, SM, LangOpts); in getPointeeTypeText() 1935 SourceLocation EndLoc = Lexer::getLocForEndOfToken( in getFunNameText()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DeadStoresChecker.cpp | 235 Lexer::getLocForEndOfToken(V->getInit()->getEndLoc(), 1, SM, LO); in Report()
|
| /src/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 90 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in checkAndAddLocation()
|