Home
last modified time | relevance | path

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

12

/freebsd/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/contrib/llvm-project/lldb/tools/lldb-instr/
H A DInstrument.cpp64 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in VisitCXXMethodDecl()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPMacroExpansion.cpp724 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()
H A DLexer.cpp850 SourceLocation Lexer::getLocForEndOfToken(SourceLocation Loc, unsigned Offset, in getLocForEndOfToken() function in Lexer
927 End = Lexer::getLocForEndOfToken(End, 0, SM,LangOpts); in makeRangeFromFileLocs()
1332 Loc = Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts); in findNextToken()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp369 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 DSemaLambda.cpp1135 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 DSemaFixItUtils.cpp60 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
H A DSemaExprObjC.cpp1177 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 DSema.cpp83 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 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()
H A DSemaDeclObjC.cpp683 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()
H A DSemaStmtAttr.cpp34 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp125 Lexer::getLocForEndOfToken(R.getEnd(), /* Offset = */ 0, SM, LO); in convertTokenRangeToCharRange()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp312 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 DParser.cpp97 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 DParseDeclCXX.cpp2199 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 DParseDecl.cpp2406 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()
H A DParseExprCXX.cpp462 Diag(PP.getLocForEndOfToken(ConsumeToken()), diag::err_expected) in ParseOptionalCXXScopeSpecifier()
1190 : Lexer::getLocForEndOfToken( in ParseLambdaIntroducer()
3541 Lexer::getLocForEndOfToken( in ParseCXXDeleteExpression()
H A DParseStmt.cpp901 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement()
979 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp144 End = Lexer::getLocForEndOfToken(End, 0, SM, Context.getLangOpts()); in selectionKindFor()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp168 E = Lexer::getLocForEndOfToken(E, 0, SM, LangOpts); in getRange()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp1756 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()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp137 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()
1399 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h2181 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) {
2182 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);

12