Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.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()
147 return visit(ND, Loc, Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts)); in visit()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransformActions.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()
H A DTransforms.cpp136 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); in findSemiAfterLocation()
H A DObjCMT.cpp265 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax()
295 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax()
1398 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h422 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset,
433 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts); in getAsCharRange()
/freebsd-14.2/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp64 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in VisitCXXMethodDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp307 Lexer::getLocForEndOfToken(TD->getInnerLocStart(), 0, SM, LangOpts); in createAttributeInsertion()
513 CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc)); in DoEmitAvailabilityWarning()
525 Locs[I], S.getLocForEndOfToken(Locs[I])); in DoEmitAvailabilityWarning()
870 Lexer::getLocForEndOfToken(StmtEndLoc, 0, SM, SemaRef.getLangOpts()); in DiagnoseDeclAvailability()
H A DSemaLambda.cpp1082 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnLambdaExpressionAfterIntroducer()
1169 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnLambdaExpressionAfterIntroducer()
1174 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnLambdaExpressionAfterIntroducer()
1221 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnLambdaExpressionAfterIntroducer()
2082 getLocForEndOfToken(CaptureRange.getEnd())); in BuildLambdaExpr()
2085 FixItRange = SourceRange(getLocForEndOfToken(PrevCaptureLoc), in BuildLambdaExpr()
2110 getLocForEndOfToken(CaptureDefaultLoc), ", this"); in BuildLambdaExpr()
H A DSemaFixItUtils.cpp60 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
H A DSemaExprObjC.cpp1168 getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression()
3805 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3838 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3911 SourceLocation afterLParen = S.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion()
4326 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
4354 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
H A DSemaStmtAttr.cpp33 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
H A DSemaDeclObjC.cpp684 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()
4135 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
H A DSema.cpp58 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken() function in Sema
59 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); in getLocForEndOfToken()
2680 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
H A DAnalysisBasedWarnings.cpp113 Close = S.getLocForEndOfToken(Close); in HandleUnreachable()
801 SourceLocation Loc = S.getLocForEndOfToken(VD->getEndLoc()); in SuggestInitializationFixit()
823 SourceLocation ElseKwLoc = S.getLocForEndOfToken(Then->getEndLoc()); in CreateIfFixit()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPPMacroExpansion.cpp723 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens()
741 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens()
1208 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon()
1240 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon()
1864 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro()
1897 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp125 Lexer::getLocForEndOfToken(R.getEnd(), /* Offset = */ 0, SM, LO); in convertTokenRangeToCharRange()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp293 PP.getLocForEndOfToken(E.get()->getEndLoc()), ")") in ParseConstraintLogicalAndExpression()
1872 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(PrevTokLocation), in ParseCastExpression()
2384 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait()
2385 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait()
2511 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
2519 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression()
2520 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
H A DParser.cpp96 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
144 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume()
259 SourceLocation SpaceLoc = PP.getLocForEndOfToken(FirstTokLoc); in checkCompoundToken()
1701 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm()
1702 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
H A DParseDeclCXX.cpp2035 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier()
3328 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification()
3592 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification()
3721 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace()
3783 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
/freebsd-14.2/contrib/llvm-project/clang/lib/Edit/
H A DCommit.cpp272 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp144 End = Lexer::getLocForEndOfToken(End, 0, SM, Context.getLangOpts()); in selectionKindFor()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp119 E = Lexer::getLocForEndOfToken(E, 0, SM, LangOpts); in getRange()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp1484 Lexer::getLocForEndOfToken(Node->getEndLoc(), 0, SM, LangOpts); in getPastLoc()
1531 Lexer::getLocForEndOfToken(ParmIdentBeginLoc, 0, SM, LangOpts); in getVarDeclIdentifierText()
1571 Lexer::getLocForEndOfToken(D->getEndLoc(), 0, SM, LangOpts); in getSourceRangeToTokenEnd()
1629 Lexer::getLocForEndOfToken(PteTyLoc.getEndLoc(), 0, SM, LangOpts); in getPointeeTypeText()
1663 SourceLocation EndLoc = Lexer::getLocForEndOfToken( in getFunNameText()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp90 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in checkAndAddLocation()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp235 Lexer::getLocForEndOfToken(V->getInit()->getEndLoc(), 1, SM, LO); in Report()

12