Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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.cpp268 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax()
298 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax()
1401 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
/openbsd-src/gnu/llvm/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.h2157 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) {
2158 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
/openbsd-src/gnu/llvm/lldb/tools/lldb-instr/
H A DInstrument.cpp64 SourceLocation InsertLoc = Lexer::getLocForEndOfToken( in VisitCXXMethodDecl()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaAvailability.cpp295 Lexer::getLocForEndOfToken(TD->getInnerLocStart(), 0, SM, LangOpts); in createAttributeInsertion()
501 CharSourceRange::getCharRange(Loc, S.getLocForEndOfToken(Loc)); in DoEmitAvailabilityWarning()
513 Locs[I], S.getLocForEndOfToken(Locs[I])); in DoEmitAvailabilityWarning()
835 Lexer::getLocForEndOfToken(StmtEndLoc, 0, SM, SemaRef.getLangOpts()); in DiagnoseDeclAvailability()
H A DSemaLambda.cpp1086 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1175 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1180 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1216 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1863 getLocForEndOfToken(CaptureRange.getEnd())); in BuildLambdaExpr()
1866 FixItRange = SourceRange(getLocForEndOfToken(PrevCaptureLoc), in BuildLambdaExpr()
1891 getLocForEndOfToken(CaptureDefaultLoc), ", this"); in BuildLambdaExpr()
H A DSemaFixItUtils.cpp60 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
H A DSemaStmtAttr.cpp33 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
H A DSemaExprObjC.cpp1168 getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression()
3800 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3833 S.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3906 SourceLocation afterLParen = S.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion()
4321 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
4349 getLocForEndOfToken(SrcExpr->getEndLoc()); in CheckObjCBridgeRelatedConversions()
H A DAnalysisBasedWarnings.cpp102 Close = S.getLocForEndOfToken(Close); in HandleUnreachable()
777 SourceLocation Loc = S.getLocForEndOfToken(VD->getEndLoc()); in SuggestInitializationFixit()
799 SourceLocation ElseKwLoc = S.getLocForEndOfToken(Then->getEndLoc()); in CreateIfFixit()
H A DSema.cpp57 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken() function in Sema
58 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); in getLocForEndOfToken()
2629 SourceLocation ParenInsertionLoc = getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
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()
4136 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DPPMacroExpansion.cpp723 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens()
741 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens()
1207 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon()
1239 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon()
1864 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro()
1896 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp125 Lexer::getLocForEndOfToken(R.getEnd(), /* Offset = */ 0, SM, LO); in convertTokenRangeToCharRange()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseExpr.cpp282 PP.getLocForEndOfToken(E.get()->getEndLoc()), ")") in ParseConstraintLogicalAndExpression()
1841 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(PrevTokLocation), in ParseCastExpression()
2332 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait()
2333 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait()
2456 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
2464 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression()
2465 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()
1646 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm()
1647 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
H A DParseDeclCXX.cpp1996 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier()
3270 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification()
3532 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification()
3661 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace()
3723 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
/openbsd-src/gnu/llvm/clang/lib/Edit/
H A DCommit.cpp272 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp144 End = Lexer::getLocForEndOfToken(End, 0, SM, Context.getLangOpts()); in selectionKindFor()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp119 E = Lexer::getLocForEndOfToken(E, 0, SM, LangOpts); in getRange()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp90 const SourceLocation EndLoc = Lexer::getLocForEndOfToken( in checkAndAddLocation()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp235 Lexer::getLocForEndOfToken(V->getInit()->getEndLoc(), 1, SM, LO); in Report()

12