Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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()
146 return visit(ND, Loc, Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts)); in visit()
/netbsd-src/external/apache2/llvm/dist/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.cpp138 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); in findSemiAfterLocation()
H A DObjCMT.cpp268 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax()
298 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax()
1405 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DLexer.h390 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset,
401 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts); in getAsCharRange()
H A DPreprocessor.h1830 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) {
1831 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaAvailability.cpp291 Lexer::getLocForEndOfToken(TD->getInnerLocStart(), 0, SM, LangOpts); in createAttributeInsertion()
497 CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc)); in DoEmitAvailabilityWarning()
509 Locs[I], S.getLocForEndOfToken(Locs[I])); in DoEmitAvailabilityWarning()
845 Lexer::getLocForEndOfToken(StmtEndLoc, 0, SM, SemaRef.getLangOpts()); in DiagnoseDeclAvailability()
H A DSemaLambda.cpp1052 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1141 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1146 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1179 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1815 getLocForEndOfToken(CaptureRange.getEnd())); in BuildLambdaExpr()
1818 FixItRange = SourceRange(getLocForEndOfToken(PrevCaptureLoc), in BuildLambdaExpr()
1843 getLocForEndOfToken(CaptureDefaultLoc), ", this"); in BuildLambdaExpr()
H A DSemaFixItUtils.cpp60 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
H A DSemaStmtAttr.cpp32 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
H A DSema.cpp52 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken() function in Sema
53 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); in getLocForEndOfToken()
2409 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
H A DSemaExprObjC.cpp1170 getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression()
3806 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3839 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3912 SourceLocation afterLParen = S.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion()
4330 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
4358 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
H A DAnalysisBasedWarnings.cpp98 Close = S.getLocForEndOfToken(Close); in HandleUnreachable()
774 SourceLocation Loc = S.getLocForEndOfToken(VD->getEndLoc()); in SuggestInitializationFixit()
796 SourceLocation ElseKwLoc = S.getLocForEndOfToken(Then->getEndLoc()); in CreateIfFixit()
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()
1513 << FixItHint::CreateInsertion(getLocForEndOfToken(firstClassNameLoc), in actOnObjCTypeArgsOrProtocolQualifiers()
1594 SourceLocation starLoc = getLocForEndOfToken(loc); in actOnObjCTypeArgsOrProtocolQualifiers()
4120 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPMacroExpansion.cpp716 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens()
734 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens()
1183 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon()
1215 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon()
1804 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro()
1836 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
H A DLexer.cpp781 SourceLocation Lexer::getLocForEndOfToken(SourceLocation Loc, unsigned Offset, in getLocForEndOfToken() function in Lexer
858 End = Lexer::getLocForEndOfToken(End, 0, SM,LangOpts); in makeRangeFromFileLocs()
1247 Loc = Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts); in findNextToken()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseExpr.cpp281 PP.getLocForEndOfToken(E.get()->getEndLoc()), ")") in ParseConstraintLogicalAndExpression()
1803 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(PrevTokLocation), in ParseCastExpression()
2269 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait()
2270 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait()
2364 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
2372 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression()
2373 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
H A DParser.cpp89 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
137 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume()
252 SourceLocation SpaceLoc = PP.getLocForEndOfToken(FirstTokLoc); in checkCompoundToken()
1558 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm()
1559 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
H A DParseStmt.cpp767 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement()
807 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseCaseStatement()
848 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement()
862 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseDefaultStatement()
H A DParseDeclCXX.cpp1889 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier()
3099 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification()
3334 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification()
3464 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace()
3526 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
H A DParseDecl.cpp2300 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes()
2976 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getEndLoc()), in DiagnoseMissingSemiAfterTagDefinition()
6051 Diag(PP.getLocForEndOfToken(D.getCXXScopeSpec().getEndLoc()), in ParseDirectDeclarator()
6135 Diag(PP.getLocForEndOfToken(D.getEllipsisLoc()), in ParseDirectDeclarator()
6168 Diag(PP.getLocForEndOfToken(Loc), diag::err_expected_unqualified_id) in ParseDirectDeclarator()
7179 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator()
7199 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getEndLoc()); in ParseMisplacedBracketDeclarator()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Edit/
H A DCommit.cpp272 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp143 End = Lexer::getLocForEndOfToken(End, 0, SM, Context.getLangOpts()); in selectionKindFor()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp90 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in checkAndAddLocation()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp238 Lexer::getLocForEndOfToken(V->getInit()->getEndLoc(), 1, SM, LO); in Report()

12