Home
last modified time | relevance | path

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

1234567

/src/contrib/llvm-project/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()
258 SourceLocation getEndLoc() const LLVM_READONLY;
340 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
341 return getSynchBody()->getEndLoc(); in getEndLoc()
378 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
379 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()
96 SourceLocation getEndLoc() const { in getEndLoc() function
97 return getStmts()[NumHandlers]->getEndLoc(); in getEndLoc()
208 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
209 return SubExprs[BODY]->getEndLoc(); in getEndLoc()
298 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
299 return SubStmt->getEndLoc(); in getEndLoc()
431 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
432 return getBody() ? getBody()->getEndLoc() : getPromiseDecl()->getEndLoc(); in getEndLoc()
[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 DStmt.h1369 SourceLocation getEndLoc() const LLVM_READONLY;
1520 SourceLocation getEndLoc() const { return EndLoc; }
1588 SourceLocation getEndLoc() const { return getSemiLoc(); }
1741 SourceLocation getEndLoc() const { return RBraceLoc; }
1794 inline SourceLocation getEndLoc() const LLVM_READONLY;
1933 SourceLocation getEndLoc() const LLVM_READONLY {
1939 return CS->getSubStmt()->getEndLoc();
1979 SourceLocation getEndLoc() const LLVM_READONLY {
1980 return SubStmt->getEndLoc();
1995 SourceLocation SwitchCase::getEndLoc() const {
[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
382 SourceLocation getEndLoc() const LLVM_READONLY { return Range.getEnd(); } in getEndLoc() function
438 SourceLocation getEndLoc() const LLVM_READONLY { return RParenLoc; } in getEndLoc() function
478 SourceLocation getEndLoc() const LLVM_READONLY { return RParenLoc; } in getEndLoc() function
532 SourceLocation getEndLoc() const LLVM_READONLY { return RParenLoc; } in getEndLoc() function
598 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc() function
786 SourceLocation getEndLoc() const LLVM_READONLY { return IdLoc; } in getEndLoc() function
[all …]
H A DExpr.h1130 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
1131 return SubExpr->getEndLoc(); in getEndLoc()
1200 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
1201 return SourceExpr ? SourceExpr->getEndLoc() : getLocation(); in getEndLoc()
1344 SourceLocation getEndLoc() const LLVM_READONLY;
1522 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc() function
1564 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc() function
1613 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc() function
1697 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc() function
1736 SourceLocation getEndLoc() const LLVM_READONLY { return Val->getEndLoc(); } in getEndLoc() function
[all …]
H A DASTConcept.h185 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
189 : getConceptNameInfo().getEndLoc(); in getEndLoc()
193 return SourceRange(getBeginLoc(), getEndLoc()); in getSourceRange()
H A DExprOpenMP.h75 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
76 return getBase()->getEndLoc(); in getEndLoc()
251 SourceLocation getEndLoc() const LLVM_READONLY { return RPLoc; } in getEndLoc() function
H A DComment.h247 SourceLocation getEndLoc() const LLVM_READONLY { return Range.getEnd(); }
368 return SourceRange(getBeginLoc().getLocWithOffset(-1), getEndLoc());
572 Content.back()->getEndLoc()));
697 SourceLocation NewLocEnd = PC->getEndLoc();
957 return SourceRange(TextBegin, getEndLoc());
1095 SourceRange(Blocks.front()->getBeginLoc(), Blocks.back()->getEndLoc()));
H A DDeclFriend.h159 return SourceRange(getFriendLoc(), ND->getEndLoc()); in getSourceRange()
166 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
H A DExprConcepts.h147 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
148 return ConceptRef->getEndLoc(); in getEndLoc()
589 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
/src/contrib/llvm-project/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()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp514 Clause.getLParenLoc(), Clause.getEndLoc()); in VisitDefaultClause()
547 Clause.getConditionExpr(), Clause.getEndLoc()); in VisitIfClause()
580 Clause.getConditionExpr(), Clause.getEndLoc()); in VisitSelfClause()
635 Clause.getEndLoc()); in VisitNumGangsClause()
656 Clause.getEndLoc()); in VisitNumWorkersClause()
677 Clause.getEndLoc()); in VisitVectorLengthClause()
699 Clause.getEndLoc()); in VisitAsyncClause()
718 Clause.getVarList(), Clause.getEndLoc()); in VisitPrivateClause()
735 Clause.getEndLoc()); in VisitFirstPrivateClause()
751 Clause.getVarList(), Clause.getEndLoc()); in VisitNoCreateClause()
[all …]
H A DTreeTransform.h4230 Construct->getEndLoc()); in TransformInitializer()
4440 SS.MakeSuper(SemaRef.Context, RD, Q.getBeginLoc(), Q.getEndLoc()); in TransformNestedNameSpecifierLoc()
8042 CompoundStmt(S->getThen()->getBeginLoc(), S->getThen()->getEndLoc()); in TransformIfStmt()
8062 CompoundStmt(S->getElse()->getBeginLoc(), S->getElse()->getEndLoc()); in TransformIfStmt()
8279 return getDerived().RebuildDeclStmt(Decls, S->getBeginLoc(), S->getEndLoc()); in TransformDeclStmt()
8386 TransformedExprs, S->getEndLoc()); in TransformMSAsmStmt()
9185 AssociatedStmt.get(), D->getBeginLoc(), D->getEndLoc(), in TransformOMPExecutableDirective()
10020 C->getNameModifierLoc(), C->getColonLoc(), C->getEndLoc()); in TransformOMPIfClause()
10029 C->getLParenLoc(), C->getEndLoc()); in TransformOMPFinalClause()
10039 NumThreads.get(), C->getBeginLoc(), C->getLParenLoc(), C->getEndLoc()); in TransformOMPNumThreadsClause()
[all …]
/src/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp280 SourceLocation End = Tok.getEndLoc(); in getEntityEndLoc()
297 End = Tok.getEndLoc(); in getEntityEndLoc()
302 End = Tok.getEndLoc(); in getEntityEndLoc()
315 return Tok.getEndLoc(); in getEntityEndLoc()
319 End = Tok.getEndLoc(); in getEntityEndLoc()
324 End = Tok.getEndLoc(); in getEntityEndLoc()
432 getEntityEndLoc(SM, Decl.getEndLoc(), getTerminators(Decl), LangOpts)); in getAssociatedRange()
449 SM, skipWhitespaceAndNewline(SM, Comment->getEndLoc(), LangOpts), in getAssociatedRange()
/src/contrib/llvm-project/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()
/src/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp296 SourceLocation End = T.getEndLoc(); in getDeclaratorRange()
513 Tokens = getRange(S->TypeDecl::getBeginLoc(), S->getEndLoc()); in getDeclarationRange()
1036 Builder.markChildToken(It.getEndLoc(), syntax::NodeRole::ListDelimiter); in TraverseNestedNameSpecifierLoc()
1077 SourceRange(S->getMemberLoc(), S->getEndLoc()), S); in WalkUpFromMemberExpr()
1083 SourceRange(S->getMemberLoc(), S->getEndLoc()), nullptr); in WalkUpFromMemberExpr()
1097 SourceRange(S->getLocation(), S->getEndLoc()), S); in WalkUpFromDeclRefExpr()
1105 SourceRange(S->getLocation(), S->getEndLoc()), S); in WalkUpFromDependentScopeDeclRefExpr()
1206 std::next(Builder.findToken(Arg->getEndLoc())); in buildCallArguments()
1214 (*(Args.end() - 1))->getEndLoc()), in buildCallArguments()
1224 std::next(Builder.findToken(S->getCallee()->getEndLoc())); in WalkUpFromCallExpr()
[all …]
/src/contrib/llvm-project/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 DQualifierAlignmentFixer.cpp73 First->Tok.getEndLoc()); in removeToken()
82 First->Tok.getEndLoc()); in insertQualifierAfter()
95 First->Tok.getEndLoc()); in insertQualifierBefore()
150 Last->Tok.getEndLoc()); in rotateTokens()
H A DSortJavaScriptImports.cpp387 References.back().Range.setEnd(Current->Tok.getEndLoc()); in parseModuleReferences()
388 Start = Current->Tok.getEndLoc().getLocWithOffset(1); in parseModuleReferences()
418 Reference.Range.setEnd(LineEnd->Tok.getEndLoc()); in parseModuleReferences()
544 Reference.SymbolsStart = Current->Tok.getEndLoc(); in parseNamedBindings()
/src/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp264 ReceiverIsSuper ? Msg->getSuperLoc() : receiver->getEndLoc(); in rewriteToPropertyDotSyntax()
294 ReceiverIsSuper ? Msg->getSuperLoc() : receiver->getEndLoc(); in rewriteToPropertyDotSyntax()
722 SourceLocation EndOfEnumDclLoc = EnumDcl->getEndLoc(); in rewriteToNSEnumDecl()
732 SourceLocation EndTypedefDclLoc = TypedefDcl->getEndLoc(); in rewriteToNSEnumDecl()
743 trans::findLocationAfterSemi(EnumDcl->getEndLoc(), NS.getASTContext(), in rewriteToNSEnumDecl()
780 SourceLocation StartTypedefLoc = EnumDcl->getEndLoc(); in rewriteToNSMacroDecl()
782 SourceLocation EndTypedefLoc = TypedefDcl->getEndLoc(); in rewriteToNSMacroDecl()
813 SourceLocation EndLoc = Enumerator->getEndLoc(); in UseNSOptionsMacro()
962 R = SourceRange(TL.getBeginLoc(), TL.getEndLoc()); in ReplaceWithInstancetype()
982 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()
/src/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMCAsmLexer.cpp30 SMLoc AsmToken::getEndLoc() const { in getEndLoc() function in AsmToken
35 return SMRange(getLoc(), getEndLoc()); in getLocRange()
/src/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp114 SMLoc getEndLoc() const override { return EndLoc; } in getEndLoc() function
391 WebAssemblyOperand::Integer, Int.getLoc(), Int.getEndLoc(), in parseSingleInteger()
404 WebAssemblyOperand::Float, Flt.getLoc(), Flt.getEndLoc(), in parseSingleFloat()
426 WebAssemblyOperand::Float, Flt.getLoc(), Flt.getEndLoc(), in parseSpecialFloatMaybe()
462 WebAssemblyOperand::Integer, Tok.getLoc(), Tok.getEndLoc(), in checkForP2AlignIfLoadStore()
515 WebAssemblyOperand::Symbol, Tok.getLoc(), Tok.getEndLoc(), in parseFunctionTableOperand()
648 WebAssemblyOperand::Symbol, Loc.getLoc(), Loc.getEndLoc(), in ParseInstruction()
709 WebAssemblyOperand::BrList, Tok.getLoc(), Tok.getEndLoc()); in ParseInstruction()
/src/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp137 return TL.getEndLoc(); in EndLocationForType()
282 : Expr->getEndLoc(); in VisitDeclRefExpr()
325 EndLoc = Expr->getQualifierLoc().getEndLoc().getLocWithOffset(-1); in VisitDeclRefExpr()
596 Replace(Using->getBeginLoc(), Using->getEndLoc(), "using " + NewName.str()); in createRenameAtomicChanges()

1234567