| /freebsd/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()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | FixitUtil.cpp | 70 Lexer::getLocForEndOfToken(PteTyLoc.getEndLoc(), 0, SM, LangOpts); in getPointeeTypeText() 152 Lexer::getLocForEndOfToken(PteTyLoc.getEndLoc(), 0, SM, LangOpts); in getPointee2TypeText() 204 Lexer::getLocForEndOfToken(getVarDeclIdentifierLoc(VD), 0, SM, LangOpts); in getVarDeclIdentifierText()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/Support/ |
| H A D | FixitUtil.h | 58 Lexer::getLocForEndOfToken(Node->getEndLoc(), 0, SM, LangOpts); in getPastLoc()
|
| /freebsd/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()
|
| H A D | Preprocessor.h | 2218 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) { 2219 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
|
| /freebsd/contrib/llvm-project/lldb/tools/lldb-instr/ |
| H A D | Instrument.cpp | 65 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in VisitCXXMethodDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
| H A D | RangeSelector.cpp | 299 return Lexer::getLocForEndOfToken(Arg->getEndLoc(), 0, SM, LangOpts); in findLastArgEnd() 321 Lexer::getLocForEndOfToken(R.getBegin(), 0, *Result.SourceManager, in getConstructArgumentsRange()
|
| H A D | SourceCode.cpp | 168 E = Lexer::getLocForEndOfToken(E, 0, SM, LangOpts); in getRange()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPMacroExpansion.cpp | 669 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens() 687 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens() 1163 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon() 1195 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon() 1275 Diag(this->getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasEmbed() 1955 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro() 1988 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 388 Lexer::getLocForEndOfToken(TD->getInnerLocStart(), 0, SM, LangOpts); in createAttributeInsertion() 633 CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc)); in DoEmitAvailabilityWarning() 645 Locs[I], S.getLocForEndOfToken(Locs[I])); in DoEmitAvailabilityWarning() 995 Lexer::getLocForEndOfToken(StmtEndLoc, 0, SM, SemaRef.getLangOpts()); in DiagnoseDeclAvailability()
|
| H A D | SemaFixItUtils.cpp | 60 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
|
| H A D | SemaLambda.cpp | 1161 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnLambdaExpressionAfterIntroducer() 1248 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnLambdaExpressionAfterIntroducer() 1253 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnLambdaExpressionAfterIntroducer() 1304 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnLambdaExpressionAfterIntroducer() 2130 SourceLocation FixItStart = S.getLocForEndOfToken(PrevCaptureLoc); in ConstructFixItRangeForUnusedCapture() 2226 getLocForEndOfToken(CaptureDefaultLoc), ", this"); in BuildLambdaExpr()
|
| H A D | SemaExprObjC.cpp | 1172 EncodedType, SemaRef.getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression() 3804 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3837 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3910 SourceLocation afterLParen = S.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion() 4324 SemaRef.getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions() 4352 SemaRef.getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
|
| 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() 1529 SemaRef.getLocForEndOfToken(firstClassNameLoc), " *"); in actOnObjCTypeArgsOrProtocolQualifiers() 1609 SourceLocation starLoc = SemaRef.getLocForEndOfToken(loc); in actOnObjCTypeArgsOrProtocolQualifiers() 4143 SourceLocation SuperClassLoc(SemaRef.getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
|
| 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() 2839 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
|
| H A D | SemaStmtAttr.cpp | 30 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SarifDiagnostics.cpp | 123 Lexer::getLocForEndOfToken(R.getEnd(), /* Offset = */ 0, SM, LO); in convertTokenRangeToCharRange()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | Parser.cpp | 105 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 153 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() 269 SourceLocation SpaceLoc = PP.getLocForEndOfToken(FirstTokLoc); in checkCompoundToken() 1631 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm() 1632 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm() 1878 SourceLocation TokenEndLoc = PP.getLocForEndOfToken(PrevTokLocation); in getEndOfPreviousToken()
|
| H A D | ParseExpr.cpp | 220 PP.getLocForEndOfToken(E.get()->getEndLoc()), ")") in ParseConstraintLogicalAndExpression() 1616 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(PrevTokLocation), in ParseCastExpression() 2075 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait() 2076 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait() 2213 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression() 2221 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression() 2222 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
|
| H A D | ParseDeclCXX.cpp | 2046 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier() 3408 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification() 3695 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification() 3824 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace() 3865 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer() 4484 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(E->getEndLoc()), in ParseCXXAssumeAttributeArg()
|
| H A D | ParseDecl.cpp | 2242 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclGroup() 2560 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes() 3334 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getEndLoc()), in DiagnoseMissingSemiAfterTagDefinition() 6668 Diag(PP.getLocForEndOfToken(D.getCXXScopeSpec().getEndLoc()), in ParseDirectDeclarator() 6753 Diag(PP.getLocForEndOfToken(D.getEllipsisLoc()), in ParseDirectDeclarator() 6789 Diag(PP.getLocForEndOfToken(Loc), diag::err_expected_unqualified_id) in ParseDirectDeclarator() 7872 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator() 7892 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator()
|
| /freebsd/contrib/llvm-project/clang/lib/Edit/ |
| H A D | Commit.cpp | 271 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 144 End = Lexer::getLocForEndOfToken(End, 0, SM, Context.getLangOpts()); in selectionKindFor()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DeadStoresChecker.cpp | 234 Lexer::getLocForEndOfToken(V->getInit()->getEndLoc(), 1, SM, LO); in Report()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 89 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in checkAndAddLocation()
|