Home
last modified time | relevance | path

Searched refs:getEndLoc (Results 1 – 25 of 153) sorted by relevance

1234567

/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DStmtObjC.h58 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
59 return SubExprs[BODY]->getEndLoc(); in getEndLoc()
111 SourceLocation getEndLoc() const LLVM_READONLY { return Body->getEndLoc(); } in getEndLoc() function
144 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
145 return AtFinallyStmt->getEndLoc(); in getEndLoc()
257 SourceLocation getEndLoc() const LLVM_READONLY;
339 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
340 return getSynchBody()->getEndLoc(); in getEndLoc()
377 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
378 return Throw ? Throw->getEndLoc() : AtThrowLoc; in getEndLoc()
[all …]
H A DStmtCXX.h44 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
45 return HandlerBlock->getEndLoc(); in getEndLoc()
95 SourceLocation getEndLoc() const { in getEndLoc() function
96 return getStmts()[NumHandlers]->getEndLoc(); in getEndLoc()
207 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
208 return SubExprs[BODY]->getEndLoc(); in getEndLoc()
297 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
298 return SubStmt->getEndLoc(); in getEndLoc()
427 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
428 return getBody() ? getBody()->getEndLoc() : getPromiseDecl()->getEndLoc(); in getEndLoc()
[all …]
H A DStmt.h1188 SourceLocation getEndLoc() const LLVM_READONLY;
1334 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc() function
1402 SourceLocation getEndLoc() const { return getSemiLoc(); } in getEndLoc() function
1548 SourceLocation getEndLoc() const { return RBraceLoc; } in getEndLoc() function
1601 inline SourceLocation getEndLoc() const LLVM_READONLY;
1740 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
1746 return CS->getSubStmt()->getEndLoc(); in getEndLoc()
1786 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
1787 return SubStmt->getEndLoc(); in getEndLoc()
1802 SourceLocation SwitchCase::getEndLoc() const { in getEndLoc() function
[all …]
H A DExprCXX.h160 SourceLocation getEndLoc() const { return Range.getEnd(); } in getEndLoc() function
347 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
348 return getDecomposedForm().RHS->getEndLoc(); in getEndLoc()
352 return SourceRange(DF.LHS->getBeginLoc(), DF.RHS->getEndLoc()); in getSourceRange()
409 SourceLocation getEndLoc() const LLVM_READONLY { return RParenLoc; } in getEndLoc() function
703 SourceLocation getEndLoc() const { return getRParenLoc(); } in getEndLoc() function
741 SourceLocation getEndLoc() const { return getLocation(); } in getEndLoc() function
777 SourceLocation getEndLoc() const { return getLocation(); } in getEndLoc() function
820 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
821 return SubExpr->getEndLoc(); in getEndLoc()
[all …]
H A DExprObjC.h72 SourceLocation getEndLoc() const LLVM_READONLY { return String->getEndLoc(); } in getEndLoc() function
104 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc() function
159 SourceLocation getEndLoc() const LLVM_READONLY { return Range.getEnd(); } in getEndLoc() function
216 SourceLocation getEndLoc() const LLVM_READONLY { return Range.getEnd(); } in getEndLoc() function
381 SourceLocation getEndLoc() const LLVM_READONLY { return Range.getEnd(); } in getEndLoc() function
437 SourceLocation getEndLoc() const LLVM_READONLY { return RParenLoc; } in getEndLoc() function
477 SourceLocation getEndLoc() const LLVM_READONLY { return RParenLoc; } in getEndLoc() function
531 SourceLocation getEndLoc() const LLVM_READONLY { return RParenLoc; } in getEndLoc() function
595 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc() function
783 SourceLocation getEndLoc() const LLVM_READONLY { return IdLoc; } in getEndLoc() function
[all …]
H A DExpr.h1102 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
1103 return SubExpr->getEndLoc(); in getEndLoc()
1173 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
1174 return SourceExpr ? SourceExpr->getEndLoc() : getLocation(); in getEndLoc()
1317 SourceLocation getEndLoc() const LLVM_READONLY;
1528 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc() function
1570 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc() function
1627 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc() function
1709 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc() function
1748 SourceLocation getEndLoc() const LLVM_READONLY { return Val->getEndLoc(); } in getEndLoc() function
[all …]
H A DExprOpenMP.h116 SourceLocation getEndLoc() const LLVM_READONLY { return RBracketLoc; } in getEndLoc() function
199 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
200 return getBase()->getEndLoc(); in getEndLoc()
375 SourceLocation getEndLoc() const LLVM_READONLY { return RPLoc; } in getEndLoc() function
H A DComment.h223 SourceLocation getEndLoc() const LLVM_READONLY { return Range.getEnd(); } in getEndLoc() function
347 return SourceRange(getBeginLoc().getLocWithOffset(-1), getEndLoc()); in getCommandNameRange()
556 Content.back()->getEndLoc())); in ParagraphComment()
682 SourceLocation NewLocEnd = PC->getEndLoc(); in setParagraph()
958 return SourceRange(TextBegin, getEndLoc()); in getTextRange()
1089 SourceRange(Blocks.front()->getBeginLoc(), Blocks.back()->getEndLoc())); in FullComment()
H A DDeclFriend.h158 return SourceRange(getFriendLoc(), ND->getEndLoc()); in getSourceRange()
165 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
H A DAvailability.h54 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc() function
H A DExprConcepts.h133 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
138 : ConceptName.getEndLoc(); in getEndLoc()
558 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DStmtObjC.cpp64 SourceLocation ObjCAtTryStmt::getEndLoc() const { in getEndLoc() function in ObjCAtTryStmt
66 return getFinallyStmt()->getEndLoc(); in getEndLoc()
68 return getCatchStmt(NumCatchStmts - 1)->getEndLoc(); in getEndLoc()
69 return getTryBody()->getEndLoc(); in getEndLoc()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp231 SourceLocation End = Tok.getEndLoc(); in getEntityEndLoc()
248 End = Tok.getEndLoc(); in getEntityEndLoc()
253 End = Tok.getEndLoc(); in getEntityEndLoc()
266 return Tok.getEndLoc(); in getEntityEndLoc()
270 End = Tok.getEndLoc(); in getEntityEndLoc()
275 End = Tok.getEndLoc(); in getEntityEndLoc()
383 getEntityEndLoc(SM, Decl.getEndLoc(), getTerminators(Decl), LangOpts)); in getAssociatedRange()
400 SM, skipWhitespaceAndNewline(SM, Comment->getEndLoc(), LangOpts), in getAssociatedRange()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCloneDetection.cpp54 SM.isBeforeInTranslationUnit(Other.getEndLoc(), getEndLoc()) || in contains()
55 Other.getEndLoc() == getEndLoc(); in contains()
84 SourceLocation StmtSequence::getEndLoc() const { return back()->getEndLoc(); } in getEndLoc() function in StmtSequence
87 return SourceRange(getBeginLoc(), getEndLoc()); in getSourceRange()
/openbsd-src/gnu/llvm/clang/lib/Format/
H A DUsingDeclarationsSorter.cpp171 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
183 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
186 auto SortedEnd = SortedUsingDeclarations[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
H A DSortJavaScriptImports.cpp388 References.back().Range.setEnd(Current->Tok.getEndLoc()); in parseModuleReferences()
389 Start = Current->Tok.getEndLoc().getLocWithOffset(1); in parseModuleReferences()
419 Reference.Range.setEnd(LineEnd->Tok.getEndLoc()); in parseModuleReferences()
534 Reference.SymbolsStart = Current->Tok.getEndLoc(); in parseNamedBindings()
H A DQualifierAlignmentFixer.cpp123 First->Tok.getEndLoc()); in removeToken()
135 Next->Tok.getEndLoc()); in insertQualifierAfter()
147 First->Tok.getEndLoc()); in insertQualifierBefore()
202 Last->Tok.getEndLoc()); in rotateTokens()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp296 SourceLocation End = T.getEndLoc(); in getDeclaratorRange()
513 Tokens = getRange(S->TypeDecl::getBeginLoc(), S->getEndLoc()); in getDeclarationRange()
1035 Builder.markChildToken(It.getEndLoc(), syntax::NodeRole::ListDelimiter); in TraverseNestedNameSpecifierLoc()
1076 SourceRange(S->getMemberLoc(), S->getEndLoc()), S); in WalkUpFromMemberExpr()
1082 SourceRange(S->getMemberLoc(), S->getEndLoc()), nullptr); in WalkUpFromMemberExpr()
1096 SourceRange(S->getLocation(), S->getEndLoc()), S); in WalkUpFromDeclRefExpr()
1104 SourceRange(S->getLocation(), S->getEndLoc()), S); in WalkUpFromDependentScopeDeclRefExpr()
1205 std::next(Builder.findToken(Arg->getEndLoc())); in buildCallArguments()
1213 (*(Args.end() - 1))->getEndLoc()), in buildCallArguments()
1223 std::next(Builder.findToken(S->getCallee()->getEndLoc())); in WalkUpFromCallExpr()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/
H A DMCAsmLexer.cpp30 SMLoc AsmToken::getEndLoc() const { in getEndLoc() function in AsmToken
35 return SMRange(getLoc(), getEndLoc()); in getLocRange()
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DObjCMT.cpp267 ReceiverIsSuper ? Msg->getSuperLoc() : receiver->getEndLoc(); in rewriteToPropertyDotSyntax()
297 ReceiverIsSuper ? Msg->getSuperLoc() : receiver->getEndLoc(); in rewriteToPropertyDotSyntax()
725 SourceLocation EndOfEnumDclLoc = EnumDcl->getEndLoc(); in rewriteToNSEnumDecl()
735 SourceLocation EndTypedefDclLoc = TypedefDcl->getEndLoc(); in rewriteToNSEnumDecl()
746 trans::findLocationAfterSemi(EnumDcl->getEndLoc(), NS.getASTContext(), in rewriteToNSEnumDecl()
783 SourceLocation StartTypedefLoc = EnumDcl->getEndLoc(); in rewriteToNSMacroDecl()
785 SourceLocation EndTypedefLoc = TypedefDcl->getEndLoc(); in rewriteToNSMacroDecl()
816 SourceLocation EndLoc = Enumerator->getEndLoc(); in UseNSOptionsMacro()
965 R = SourceRange(TL.getBeginLoc(), TL.getEndLoc()); in ReplaceWithInstancetype()
985 R = SourceRange(TL.getBeginLoc(), TL.getEndLoc()); { in ReplaceWithClasstype()
[all …]
H A DTransAutoreleasePool.cpp131 findLocationAfterSemi((*retI)->getEndLoc(), Pass.Ctx); in ~AutoreleasePoolRewriter()
138 (*retI)->getEndLoc()), in ~AutoreleasePoolRewriter()
244 return SourceRange((*rangeS)->getBeginLoc(), (*rangeE)->getEndLoc()); in getIndentedRange()
310 findLocationAfterSemi(retS->getEndLoc(), Pass.Ctx).isValid()) { in handlePoolScope()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp116 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc() function
394 WebAssemblyOperand::Integer, Int.getLoc(), Int.getEndLoc(), in parseSingleInteger()
407 WebAssemblyOperand::Float, Flt.getLoc(), Flt.getEndLoc(), in parseSingleFloat()
429 WebAssemblyOperand::Float, Flt.getLoc(), Flt.getEndLoc(), in parseSpecialFloatMaybe()
465 WebAssemblyOperand::Integer, Tok.getLoc(), Tok.getEndLoc(), in checkForP2AlignIfLoadStore()
518 WebAssemblyOperand::Symbol, Tok.getLoc(), Tok.getEndLoc(), in parseFunctionTableOperand()
655 WebAssemblyOperand::Symbol, Loc.getLoc(), Loc.getEndLoc(), in ParseInstruction()
716 WebAssemblyOperand::BrList, Tok.getLoc(), Tok.getEndLoc()); in ParseInstruction()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp137 return TL.getEndLoc(); in EndLocationForType()
281 : Expr->getEndLoc(); in VisitDeclRefExpr()
324 EndLoc = Expr->getQualifierLoc().getEndLoc().getLocWithOffset(-1); in VisitDeclRefExpr()
595 Replace(Using->getBeginLoc(), Using->getEndLoc(), "using " + NewName.str()); in createRenameAtomicChanges()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DTreeTransform.h4059 Construct->getEndLoc()); in TransformInitializer()
4269 SS.MakeSuper(SemaRef.Context, RD, Q.getBeginLoc(), Q.getEndLoc()); in TransformNestedNameSpecifierLoc()
7832 return getDerived().RebuildDeclStmt(Decls, S->getBeginLoc(), S->getEndLoc()); in TransformDeclStmt()
7939 TransformedExprs, S->getEndLoc()); in TransformMSAsmStmt()
8720 AssociatedStmt.get(), D->getBeginLoc(), D->getEndLoc()); in TransformOMPExecutableDirective()
9521 C->getNameModifierLoc(), C->getColonLoc(), C->getEndLoc()); in TransformOMPIfClause()
9530 C->getLParenLoc(), C->getEndLoc()); in TransformOMPFinalClause()
9540 NumThreads.get(), C->getBeginLoc(), C->getLParenLoc(), C->getEndLoc()); in TransformOMPNumThreadsClause()
9550 E.get(), C->getBeginLoc(), C->getLParenLoc(), C->getEndLoc()); in TransformOMPSafelenClause()
9560 E.get(), C->getBeginLoc(), C->getLParenLoc(), C->getEndLoc()); in TransformOMPAllocatorClause()
[all …]
H A DSemaAvailability.cpp230 return {" ", D->getEndLoc(), ""}; in createInsertionAfter()
699 D, SourceRange(Msg->getSelectorStartLoc(), Msg->getEndLoc()), ID); in VisitObjCMessageExpr()
706 SourceRange(DRE->getBeginLoc(), DRE->getEndLoc())); in VisitDeclRefExpr()
712 SourceRange(ME->getBeginLoc(), ME->getEndLoc())); in VisitMemberExpr()
813 (LastStmtOfUse ? LastStmtOfUse : StmtOfUse)->getEndLoc()) in DiagnoseDeclAvailability()
848 SourceRange Range{Ty.getBeginLoc(), Ty.getEndLoc()}; in VisitTypeLoc()

1234567