| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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 | 136 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() 1401 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
|
| /openbsd-src/gnu/llvm/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 | 2157 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) { 2158 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
|
| /openbsd-src/gnu/llvm/lldb/tools/lldb-instr/ |
| H A D | Instrument.cpp | 64 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in VisitCXXMethodDecl()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaAvailability.cpp | 295 Lexer::getLocForEndOfToken(TD->getInnerLocStart(), 0, SM, LangOpts); in createAttributeInsertion() 501 CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc)); in DoEmitAvailabilityWarning() 513 Locs[I], S.getLocForEndOfToken(Locs[I])); in DoEmitAvailabilityWarning() 835 Lexer::getLocForEndOfToken(StmtEndLoc, 0, SM, SemaRef.getLangOpts()); in DiagnoseDeclAvailability()
|
| H A D | SemaLambda.cpp | 1086 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1175 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1180 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1216 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition() 1863 getLocForEndOfToken(CaptureRange.getEnd())); in BuildLambdaExpr() 1866 FixItRange = SourceRange(getLocForEndOfToken(PrevCaptureLoc), in BuildLambdaExpr() 1891 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 | 33 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
|
| H A D | SemaExprObjC.cpp | 1168 getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression() 3800 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3833 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion() 3906 SourceLocation afterLParen = S.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion() 4321 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions() 4349 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
|
| H A D | AnalysisBasedWarnings.cpp | 102 Close = S.getLocForEndOfToken(Close); in HandleUnreachable() 777 SourceLocation Loc = S.getLocForEndOfToken(VD->getEndLoc()); in SuggestInitializationFixit() 799 SourceLocation ElseKwLoc = S.getLocForEndOfToken(Then->getEndLoc()); in CreateIfFixit()
|
| H A D | Sema.cpp | 57 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken() function in Sema 58 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); in getLocForEndOfToken() 2629 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
|
| 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() 1529 << FixItHint::CreateInsertion(getLocForEndOfToken(firstClassNameLoc), in actOnObjCTypeArgsOrProtocolQualifiers() 1610 SourceLocation starLoc = getLocForEndOfToken(loc); in actOnObjCTypeArgsOrProtocolQualifiers() 4136 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
|
| /openbsd-src/gnu/llvm/clang/lib/Lex/ |
| H A D | PPMacroExpansion.cpp | 723 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens() 741 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens() 1207 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon() 1239 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon() 1864 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro() 1896 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | SarifDiagnostics.cpp | 125 Lexer::getLocForEndOfToken(R.getEnd(), /* Offset = */ 0, SM, LO); in convertTokenRangeToCharRange()
|
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 282 PP.getLocForEndOfToken(E.get()->getEndLoc()), ")") in ParseConstraintLogicalAndExpression() 1841 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(PrevTokLocation), in ParseCastExpression() 2332 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait() 2333 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait() 2456 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression() 2464 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression() 2465 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() 1646 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm() 1647 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
|
| H A D | ParseDeclCXX.cpp | 1996 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier() 3270 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification() 3532 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification() 3661 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace() 3723 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
|
| /openbsd-src/gnu/llvm/clang/lib/Edit/ |
| H A D | Commit.cpp | 272 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 144 End = Lexer::getLocForEndOfToken(End, 0, SM, Context.getLangOpts()); in selectionKindFor()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 119 E = Lexer::getLocForEndOfToken(E, 0, SM, LangOpts); in getRange()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 90 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in checkAndAddLocation()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DeadStoresChecker.cpp | 235 Lexer::getLocForEndOfToken(V->getInit()->getEndLoc(), 1, SM, LO); in Report()
|