Home
last modified time | relevance | path

Searched refs:getLocForEndOfToken (Results 1 – 25 of 49) 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/clang/lib/Analysis/
H A DFixitUtil.cpp70 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 DFixitUtil.h58 Lexer::getLocForEndOfToken(Node->getEndLoc(), 0, SM, LangOpts); in getPastLoc()
/freebsd/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()
H A DPreprocessor.h2218 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 DInstrument.cpp65 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in VisitCXXMethodDecl()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRangeSelector.cpp299 return Lexer::getLocForEndOfToken(Arg->getEndLoc(), 0, SM, LangOpts); in findLastArgEnd()
321 Lexer::getLocForEndOfToken(R.getBegin(), 0, *Result.SourceManager, in getConstructArgumentsRange()
H A DSourceCode.cpp168 E = Lexer::getLocForEndOfToken(E, 0, SM, LangOpts); in getRange()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPMacroExpansion.cpp669 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 DSemaAvailability.cpp388 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 DSemaFixItUtils.cpp60 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
H A DSemaLambda.cpp1161 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 DSemaExprObjC.cpp1172 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 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()
1529 SemaRef.getLocForEndOfToken(firstClassNameLoc), " *"); in actOnObjCTypeArgsOrProtocolQualifiers()
1609 SourceLocation starLoc = SemaRef.getLocForEndOfToken(loc); in actOnObjCTypeArgsOrProtocolQualifiers()
4143 SourceLocation SuperClassLoc(SemaRef.getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
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()
2839 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
H A DSemaStmtAttr.cpp30 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp123 Lexer::getLocForEndOfToken(R.getEnd(), /* Offset = */ 0, SM, LO); in convertTokenRangeToCharRange()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp105 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 DParseExpr.cpp220 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 DParseDeclCXX.cpp2046 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 DParseDecl.cpp2242 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 DCommit.cpp271 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
/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/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp234 Lexer::getLocForEndOfToken(V->getInit()->getEndLoc(), 1, SM, LO); in Report()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp89 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in checkAndAddLocation()

12