Home
last modified time | relevance | path

Searched refs:getLocForEndOfToken (Results 1 – 25 of 47) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
HDRecursiveSymbolVisitor.h54 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()
135 return visit(ND, Loc, Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts)); in visit()
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
HDTransformActions.cpp72 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()
HDTransforms.cpp137 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); in findSemiAfterLocation()
HDObjCMT.cpp276 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax()
306 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax()
1415 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
HDLexer.h386 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset,
397 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts); in getAsCharRange()
HDPreprocessor.h1784 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) {
1785 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaLambda.cpp1046 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1135 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1140 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1173 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1725 getLocForEndOfToken(CaptureRange.getEnd())); in BuildLambdaExpr()
1728 FixItRange = SourceRange(getLocForEndOfToken(PrevCaptureLoc), in BuildLambdaExpr()
1753 getLocForEndOfToken(CaptureDefaultLoc), ", this"); in BuildLambdaExpr()
HDSemaFixItUtils.cpp60 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
HDSemaStmtAttr.cpp31 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
HDAnalysisBasedWarnings.cpp96 Close = S.getLocForEndOfToken(Close); in HandleUnreachable()
772 SourceLocation Loc = S.getLocForEndOfToken(VD->getEndLoc()); in SuggestInitializationFixit()
794 SourceLocation ElseKwLoc = S.getLocForEndOfToken(Then->getEndLoc()); in CreateIfFixit()
HDSema.cpp49 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken() function in Sema
50 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); in getLocForEndOfToken()
2165 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
HDSemaDeclObjC.cpp683 SourceLocation starLoc = getLocForEndOfToken( in actOnObjCTypeParam()
837 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getEndLoc()); in checkTypeParamListConsistency()
952 = S.getLocForEndOfToken(newTypeParam->getLocation()); in checkTypeParamListConsistency()
1508 << FixItHint::CreateInsertion(getLocForEndOfToken(firstClassNameLoc), in actOnObjCTypeArgsOrProtocolQualifiers()
1589 SourceLocation starLoc = getLocForEndOfToken(loc); in actOnObjCTypeArgsOrProtocolQualifiers()
4060 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
HDSemaExprObjC.cpp1112 getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression()
3658 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3691 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3761 SourceLocation afterLParen = S.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion()
4179 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
4207 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
HDPPMacroExpansion.cpp714 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens()
732 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens()
1181 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon()
1213 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon()
1799 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro()
1824 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
/freebsd-11-stable/contrib/llvm-project/lldb/tools/lldb-instr/
HDInstrument.cpp241 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in VisitCXXMethodDecl()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
HDParseExpr.cpp281 PP.getLocForEndOfToken(E.get()->getEndLoc()), ")") in ParseConstraintLogicalAndExpression()
2129 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait()
2130 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait()
2219 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
2227 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression()
2228 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
HDParseStmt.cpp751 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement()
791 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseCaseStatement()
832 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement()
846 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseDefaultStatement()
HDParser.cpp88 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
136 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume()
1523 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm()
1524 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
HDParseDeclCXX.cpp1860 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier()
3040 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification()
3275 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification()
3403 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace()
3464 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
HDParseDecl.cpp2325 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes()
2976 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getEndLoc()), in DiagnoseMissingSemiAfterTagDefinition()
5961 Diag(PP.getLocForEndOfToken(D.getCXXScopeSpec().getEndLoc()), in ParseDirectDeclarator()
6045 Diag(PP.getLocForEndOfToken(D.getEllipsisLoc()), in ParseDirectDeclarator()
6078 Diag(PP.getLocForEndOfToken(Loc), diag::err_expected_unqualified_id) in ParseDirectDeclarator()
7055 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator()
7075 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
HDRangeSelector.cpp123 return CharSourceRange::getCharRange(Lexer::getLocForEndOfToken( in after()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Edit/
HDCommit.cpp272 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/
HDASTSelection.cpp144 End = Lexer::getLocForEndOfToken(End, 0, SM, Context.getLangOpts()); in selectionKindFor()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
HDUSRLocFinder.cpp89 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in checkAndAddLocation()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDDeadStoresChecker.cpp237 Lexer::getLocForEndOfToken(V->getInit()->getEndLoc(), 1, SM, LO); in Report()

12