Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h55 Lexer::getLocForEndOfToken(Initializer->getSourceLocation(), in VisitCXXConstructorDecl()
90 Lexer::getLocForEndOfToken(TypeBeginLoc, 0, SM, LangOpts); in VisitTypeLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransformActions.cpp73 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange()
178 static SourceLocation getLocForEndOfToken(SourceLocation loc,
442 addInsertion(getLocForEndOfToken(loc, Ctx.getSourceManager(), PP), text); in commitInsertAfterToken()
475 getLocForEndOfToken(replacementRange.getEnd(), in commitReplace()
590 SourceLocation TransformActionsImpl::getLocForEndOfToken(SourceLocation loc, in getLocForEndOfToken() function in TransformActionsImpl
599 return PP.getLocForEndOfToken(loc); in getLocForEndOfToken()
H A DTransforms.cpp138 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()
1404 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DLexer.h372 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset,
383 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts); in getAsCharRange()
H A DPreprocessor.h1673 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) {
1674 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaLambda.cpp977 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1063 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1068 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1101 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1568 getLocForEndOfToken(CaptureRange.getEnd())); in BuildLambdaExpr()
1571 FixItRange = SourceRange(getLocForEndOfToken(PrevCaptureLoc), in BuildLambdaExpr()
1595 getLocForEndOfToken(CaptureDefaultLoc), ", this"); in BuildLambdaExpr()
H A DSemaFixItUtils.cpp61 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
H A DSemaStmtAttr.cpp33 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
H A DSema.cpp46 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken() function in Sema
47 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); in getLocForEndOfToken()
1834 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
H A DAnalysisBasedWarnings.cpp97 Close = S.getLocForEndOfToken(Close); in HandleUnreachable()
754 SourceLocation Loc = S.getLocForEndOfToken(VD->getEndLoc()); in SuggestInitializationFixit()
776 SourceLocation ElseKwLoc = S.getLocForEndOfToken(Then->getEndLoc()); in CreateIfFixit()
H A DSemaExprObjC.cpp1097 getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression()
3584 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3617 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3687 SourceLocation afterLParen = S.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion()
4105 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
4133 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
H A DSemaDeclObjC.cpp680 SourceLocation starLoc = getLocForEndOfToken( in actOnObjCTypeParam()
834 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getEndLoc()); in checkTypeParamListConsistency()
949 = S.getLocForEndOfToken(newTypeParam->getLocation()); in checkTypeParamListConsistency()
1501 << FixItHint::CreateInsertion(getLocForEndOfToken(firstClassNameLoc), in actOnObjCTypeArgsOrProtocolQualifiers()
1582 SourceLocation starLoc = getLocForEndOfToken(loc); in actOnObjCTypeArgsOrProtocolQualifiers()
4017 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
H A DSemaExpr.cpp410 SourceLocation MissingNilLoc = getLocForEndOfToken(sentinelExpr->getEndLoc()); in DiagnoseSentinelCalls()
524 SourceLocation RHSLocEnd = S.getLocForEndOfToken(RHS->getEndLoc()); in DiagnoseDirectIsaAccess()
7300 SourceLocation EndLoc = Self.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
9157 SourceLocation EndLoc = Self.getLocForEndOfToken(RHSExpr->getEndLoc()); in diagnoseStringPlusInt()
9207 SourceLocation EndLoc = Self.getLocForEndOfToken(RHSExpr->getEndLoc()); in diagnoseStringPlusChar()
9886 SourceLocation End = S.getLocForEndOfToken(RHS.get()->getEndLoc()); in diagnoseObjCLiteralComparison()
9888 CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc)); in diagnoseObjCLiteralComparison()
9920 FirstClose = S.getLocForEndOfToken(FirstClose); in diagnoseLogicalNotOnLHSofCheck()
9931 SecondClose = S.getLocForEndOfToken(SecondClose); in diagnoseLogicalNotOnLHSofCheck()
10868 SourceRange(getLocForEndOfToken(LHS.get()->getEndLoc()), in CheckLogicalOperands()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPPMacroExpansion.cpp704 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens()
722 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens()
1160 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon()
1223 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon()
1755 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro()
1780 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
H A DLexer.cpp771 SourceLocation Lexer::getLocForEndOfToken(SourceLocation Loc, unsigned Offset, in getLocForEndOfToken() function in Lexer
848 End = Lexer::getLocForEndOfToken(End, 0, SM,LangOpts); in makeRangeFromFileLocs()
1237 Loc = Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts); in findNextToken()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp727 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement()
769 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseCaseStatement()
805 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement()
820 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseDefaultStatement()
H A DParser.cpp89 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
137 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume()
1422 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm()
1423 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
H A DParseExpr.cpp1890 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait()
1891 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait()
1980 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
1988 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression()
1989 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
H A DParseDeclCXX.cpp1824 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier()
2989 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification()
3206 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification()
3333 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace()
3394 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
H A DParseDecl.cpp2231 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes()
2866 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getEndLoc()), in DiagnoseMissingSemiAfterTagDefinition()
5685 Diag(PP.getLocForEndOfToken(D.getCXXScopeSpec().getEndLoc()), in ParseDirectDeclarator()
5769 Diag(PP.getLocForEndOfToken(D.getEllipsisLoc()), in ParseDirectDeclarator()
5802 Diag(PP.getLocForEndOfToken(Loc), diag::err_expected_unqualified_id) in ParseDirectDeclarator()
6710 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator()
6730 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator()
H A DParseCXXInlineMethods.cpp639 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/
H A DCommit.cpp273 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp145 End = Lexer::getLocForEndOfToken(End, 0, SM, Context.getLangOpts()); in selectionKindFor()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp90 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in checkAndAddLocation()

12