Home
last modified time | relevance | path

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

12345678910

/llvm-project-15.0.7/clang/unittests/Introspection/
H A DIntrospectionTest.cpp216 STRING_LOCATION_STDPAIR(MethodDecl, getEndLoc()), in TEST()
390 STRING_LOCATION_STDPAIR(NNS, getEndLoc()), in TEST()
457 TA, getTypeSourceInfo()->getTypeLoc().getEndLoc()) in TEST()
1011 STRING_LOCATION_PAIR(Base, getEndLoc()), in TEST()
1060 STRING_LOCATION_PAIR(Base, getEndLoc()), in TEST()
1110 STRING_LOCATION_PAIR(Base, getEndLoc()), in TEST()
1160 STRING_LOCATION_PAIR(Base, getEndLoc()), in TEST()
1214 STRING_LOCATION_PAIR(Base, getEndLoc()), in TEST()
1269 STRING_LOCATION_STDPAIR(TL, getEndLoc()), in TEST()
1331 STRING_LOCATION_STDPAIR(TL, getEndLoc()), in TEST()
[all …]
/llvm-project-15.0.7/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
409 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
[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 DExprCXX.h815 return SubExpr->getEndLoc(); in getEndLoc()
1219 return getSubExpr()->getEndLoc(); in getEndLoc()
1443 return SubExpr->getEndLoc(); in getEndLoc()
2467 return Argument->getEndLoc(); in getEndLoc()
3178 return getNameInfo().getEndLoc(); in getEndLoc()
3408 return SubExpr->getEndLoc(); in getEndLoc()
3791 return MemberNameInfo.getEndLoc(); in getEndLoc()
4559 return getSubExpr()->getEndLoc(); in getEndLoc()
4666 return getRHS()->getEndLoc(); in getEndLoc()
4771 return getOperand()->getEndLoc(); in getEndLoc()
[all …]
H A DStmt.h1775 return SubStmt->getEndLoc(); in getEndLoc()
1792 return CS->getEndLoc(); in getEndLoc()
1794 return DS->getEndLoc(); in getEndLoc()
1859 SourceLocation getEndLoc() const LLVM_READONLY { return SubStmt->getEndLoc();} in getEndLoc() function
1922 SourceLocation getEndLoc() const LLVM_READONLY { return SubStmt->getEndLoc();} in getEndLoc() function
2149 return getThen()->getEndLoc(); in getEndLoc()
2620 SourceLocation getEndLoc() const { return getBody()->getEndLoc(); } in getEndLoc() function
2710 SourceLocation getEndLoc() const LLVM_READONLY { return Target->getEndLoc(); } in getEndLoc() function
3382 SourceLocation getEndLoc() const { return getBlock()->getEndLoc(); } in getEndLoc() function
3423 SourceLocation getEndLoc() const { return Block->getEndLoc(); } in getEndLoc() function
[all …]
H A DExprObjC.h73 SourceLocation getEndLoc() const LLVM_READONLY { return String->getEndLoc(); } in getEndLoc() function
105 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc() function
437 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
1525 return getBase()->getEndLoc(); in getBaseLocEnd()
1606 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
1607 return Operand->getEndLoc(); in getEndLoc()
1664 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() function
1665 return getSubExpr()->getEndLoc(); in getEndLoc()
[all …]
H A DExpr.h1092 return SubExpr->getEndLoc(); in getEndLoc()
1737 SourceLocation getEndLoc() const LLVM_READONLY { return Val->getEndLoc(); } in getEndLoc() function
3457 return Init->getEndLoc(); in getEndLoc()
3670 return getSubExpr()->getEndLoc(); in getEndLoc()
3778 return getSubExpr()->getEndLoc(); in getEndLoc()
3865 return getRHS()->getEndLoc(); in getEndLoc()
4186 return getRHS()->getEndLoc(); in getEndLoc()
4269 return getFalseExpr()->getEndLoc(); in getEndLoc()
5456 return getCommonExpr()->getEndLoc(); in getEndLoc()
5995 return getBody()->getEndLoc(); in getEndLoc()
[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
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DRedundantBranchConditionCheck.cpp39 SM.isBeforeInTranslationUnit(PrevS->getEndLoc(), in isChangedBefore()
41 SM.isBeforeInTranslationUnit(MutS->getEndLoc(), NextS->getBeginLoc()); in isChangedBefore()
139 Lexer::findNextToken(OtherSide->getEndLoc(), *Result.SourceManager, in check()
155 CharSourceRange::getTokenRange(Body->getEndLoc(), Body->getEndLoc())); in check()
171 Lexer::findNextToken(CondOp->getLHS()->getEndLoc(), in check()
175 AfterLHS, CondOp->getRHS()->getEndLoc())); in check()
H A DImplicitWideningOfMultiplicationResultCheck.cpp107 << FixItHint::CreateInsertion(E->getEndLoc(), ")"); in handleImplicitCastExpr()
111 << FixItHint::CreateInsertion(E->getEndLoc(), ")"); in handleImplicitCastExpr()
141 << FixItHint::CreateInsertion(LHS->getEndLoc(), ")"); in handleImplicitCastExpr()
215 << FixItHint::CreateInsertion(IndexExpr->getEndLoc(), ")"); in handlePointerOffsetting()
219 << FixItHint::CreateInsertion(IndexExpr->getEndLoc(), ")"); in handlePointerOffsetting()
233 << FixItHint::CreateInsertion(LHS->getEndLoc(), ")"); in handlePointerOffsetting()
H A DMisplacedPointerArithmeticInAllocCheck.cpp88 const SourceRange OldRParen = SourceRange(PtrArith->getLHS()->getEndLoc()); in check()
93 PtrArith->getEndLoc(), 0, *Result.SourceManager, getLangOpts()); in check()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseUncaughtExceptionsCheck.cpp59 EndLoc = C->getEndLoc(); in check()
62 EndLoc = E->getEndLoc(); in check()
66 EndLoc = D->getEndLoc(); in check()
72 EndLoc = U->getNameInfo().getEndLoc(); in check()
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp187 SourceLocation End = Tok.getEndLoc(); in getEntityEndLoc()
204 End = Tok.getEndLoc(); in getEntityEndLoc()
209 End = Tok.getEndLoc(); in getEntityEndLoc()
222 return Tok.getEndLoc(); in getEntityEndLoc()
226 End = Tok.getEndLoc(); in getEntityEndLoc()
231 End = Tok.getEndLoc(); in getEntityEndLoc()
339 getEntityEndLoc(SM, Decl.getEndLoc(), getTerminators(Decl), LangOpts)); in getAssociatedRange()
356 SM, skipWhitespaceAndNewline(SM, Comment->getEndLoc(), LangOpts), in getAssociatedRange()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DRedundantStringInitCheck.cpp49 if (Arg->getEndLoc().isValid()) in getConstructExprArgRange()
50 E = Arg->getEndLoc(); in getConstructExprArgRange()
129 SourceRange ReplaceRange(VDecl->getLocation(), VDecl->getEndLoc()); in check()
136 SourceRange ReplaceRange(FDecl->getLocation(), FDecl->getEndLoc()); in check()
H A DStaticDefinitionInAnonymousNamespaceCheck.cpp55 SourceRange TokenRange(Tok.getLocation(), Tok.getEndLoc()); in check()
63 Loc = Tok.getEndLoc(); in check()
H A DConstReturnTypeCheck.cpp90 CharSourceRange::getCharRange(Tok->getLocation(), Tok->getEndLoc()); in checkDef()
100 CharSourceRange::getCharRange(T->getLocation(), T->getEndLoc()))); in checkDef()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DVirtualClassDestructorCheck.cpp97 Loc = StructOrClass.getEndLoc(); in generateUserDeclaredDestructor()
104 Loc = AccessSpecDecl->getEndLoc().getLocWithOffset(1); in generateUserDeclaredDestructor()
153 utils::lexer::findNextTerminator(Destructor.getEndLoc(), SM, LangOpts) in changePrivateDestructorVisibilityTo()
156 EndLocation = Destructor.getEndLoc().getLocWithOffset(1); in changePrivateDestructorVisibilityTo()
H A DPreferMemberInitializerCheck.cpp196 S->getEndLoc(), *Result.SourceManager, getLangOpts())) in check()
197 SemiColonEnd = NextToken->getEndLoc(); in check()
285 S->getEndLoc(), *Result.SourceManager, getLangOpts())) in check()
286 SemiColonEnd = NextToken->getEndLoc(); in check()
/llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/
H A DTestingSupport.cpp41 Lexer::findNextToken(Stmt->getEndLoc(), SourceManager, LangOptions); in isAnnotationDirectlyAfterStatement()
48 NextToken = Lexer::findNextToken(NextToken->getEndLoc(), SourceManager, in isAnnotationDirectlyAfterStatement()
72 unsigned Offset = SourceManager.getFileOffset(S->getEndLoc()); in buildStatementToAnnotationMapping()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DTriviallyDestructibleCheck.cpp58 FirstDecl->getEndLoc(), SM, getLangOpts()); in check()
61 utils::lexer::findNextTerminator(MatchedDecl->getEndLoc(), SM, in check()
/llvm-project-15.0.7/clang/lib/Format/
H A DUsingDeclarationsSorter.cpp143 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
155 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
158 auto SortedEnd = SortedUsingDeclarations[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/
H A DStructPackAlignCheck.cpp105 << FixItHint::CreateInsertion(Struct->getEndLoc().getLocWithOffset(1), in check()
123 Struct->getEndLoc().getLocWithOffset(1), in check()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp296 SourceLocation End = T.getEndLoc(); in getDeclaratorRange()
513 Tokens = getRange(S->TypeDecl::getBeginLoc(), S->getEndLoc()); in getDeclarationRange()
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()
1223 std::next(Builder.findToken(S->getCallee()->getEndLoc())); in WalkUpFromCallExpr()
1300 std::next(Builder.findToken(S->getArg(0)->getEndLoc())); in WalkUpFromCXXOperatorCallExpr()
1375 Params.back()->getEndLoc()), in buildParameterDeclarationList()
1387 Builder.foldNode(Builder.getRange(L.getLParenLoc(), L.getEndLoc()), in WalkUpFromFunctionTypeLoc()
[all …]

12345678910