Home
last modified time | relevance | path

Searched refs:TraverseStmt (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DRecursiveASTVisitor.h198 bool TraverseStmt(Stmt *S, DataRecursionQueue *Queue = nullptr);
525 TRY_TO(TraverseStmt(IDC));
585 TRY_TO(TraverseStmt(R->getExpr()));
603 return getDerived().TraverseStmt(R->getConstraintExpr());
656 bool RecursiveASTVisitor<Derived>::TraverseStmt(Stmt *S,
890 return getDerived().TraverseStmt(Arg.getAsExpr());
931 return getDerived().TraverseStmt(ArgLoc.getSourceExpression());
956 TRY_TO(TraverseStmt(Init->getInit()));
969 TRY_TO(TraverseStmt(Init));
1014 TRY_TO(TraverseStmt(const_cast<Expr*>(T->getSizeExpr())));
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp212 TraverseStmt(InitExpr); in TraverseConstructorInits()
217 TraverseStmt(DefaultInit->getExpr()); in TraverseConstructorInits()
273 Visitor.TraverseStmt(FD.getBody()); in getReferencedDecls()
283 Visitor.TraverseStmt(const_cast<Stmt *>(&S)); in getReferencedDecls()
H A DDataflowEnvironment.cpp333 TraverseStmt(InitExpr); in TraverseConstructorInits()
338 TraverseStmt(DefaultInit->getExpr()); in TraverseConstructorInits()
1225 Visitor.TraverseStmt(S); in buildResultObjectMap()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp93 bool onlyValueOfVarIsNeeded = checker.TraverseStmt(block->getBody()); in VisitBlockDecl()
131 trans.TraverseStmt(BodyCtx.getTopStmt()); in traverseBody()
H A DTransforms.cpp251 TraverseStmt(*I); in TraverseStmtExpr()
301 ReferenceClear(refs).TraverseStmt(S); in clearRefsIn()
305 ReferenceCollector(D, refs).TraverseStmt(S); in collectRefs()
309 RemovablesCollector(exprs).TraverseStmt(S); in collectRemovables()
337 bool TraverseStmt(Stmt *rootS) { in TraverseStmt() function in __anon26e897370211::ASTTransform
H A DTransProtectedScope.cpp108 .TraverseStmt(BodyCtx.getTopStmt()); in ProtectedScopeFixer()
109 LocalRefsCollector(LocalRefs).TraverseStmt(BodyCtx.getTopStmt()); in ProtectedScopeFixer()
H A DTransUnusedInitDelegate.cpp46 TraverseStmt(body); in transformBody()
H A DTransGCCalls.cpp75 .TraverseStmt(BodyCtx.getTopStmt()); in traverseBody()
H A DTransforms.h193 bool TraverseStmt(Stmt *rootS) { in TraverseStmt() function
H A DTransEmptyStatementsAndDealloc.cpp159 TraverseStmt(*I); in TraverseStmtExpr()
H A DTransRetainReleaseDealloc.cpp57 TraverseStmt(body); in transformBody()
H A DTransUnbridgedCasts.cpp77 TraverseStmt(body); in transformBody()
H A DObjCMT.cpp349 if (!TraverseStmt(SubStmt)) in TraverseObjCMessageExpr()
366 bool TraverseStmt(Stmt *S) { in TraverseStmt() function in __anonac2273870211::BodyMigrator
368 ObjCMigrator(Consumer, *PMap).TraverseStmt(S); in TraverseStmt()
1690 return !SuperInitChecker().TraverseStmt(MD->getBody()); in hasSuperInitCall()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp126 TraverseStmt(Element.Key); in TraverseObjCDictionaryLiteral()
127 TraverseStmt(Element.Value); in TraverseObjCDictionaryLiteral()
137 bool TraverseStmt(Stmt *S) { in TraverseStmt() function in __anone7d735f40111::CollectUnexpandedParameterPacksVisitor
140 return inherited::TraverseStmt(S); in TraverseStmt()
191 return inherited::TraverseStmt(E->getIndexExpr()); in TraversePackIndexingExpr()
194 return inherited::TraverseStmt(E->getIndexExpr()); in TraversePackIndexingType()
197 return inherited::TraverseStmt(TL.getIndexExpr()); in TraversePackIndexingTypeLoc()
425 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseStmt(E); in DiagnoseUnexpandedParameterPack()
435 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseStmt(RE); in DiagnoseUnexpandedParameterPackInRequiresExpr()
571 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseStmt(E); in collectUnexpandedParameterPacks()
H A DSemaAvailability.cpp750 if (!Visitor.TraverseStmt(const_cast<Stmt *>(S))) in findLastStmtThatUsesDecl()
784 bool TraverseStmt(Stmt *S) { in TraverseStmt() function in __anon2feca2d00411::DiagnoseUnguardedAvailability
788 bool Result = Base::TraverseStmt(S); in TraverseStmt()
793 void IssueDiagnostics(Stmt *S) { TraverseStmt(S); } in IssueDiagnostics()
799 bool TraverseCaseStmt(CaseStmt *CS) { return TraverseStmt(CS->getSubStmt()); } in TraverseCaseStmt()
997 return TraverseStmt(If->getThen()) && TraverseStmt(If->getElse()); in TraverseIfStmt()
1004 bool ShouldContinue = TraverseStmt(If->getThen()); in TraverseIfStmt()
1007 return ShouldContinue && TraverseStmt(If->getElse()); in TraverseIfStmt()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp68 return TraverseStmt(E->getSyntacticForm()); in TraversePseudoObjectExpr()
75 return TraverseStmt(E->getSourceExpr()); in TraverseOpaqueValueExpr()
112 bool TraverseStmt(Stmt *S) { in TraverseStmt() function in __anonf79359760111::ASTSelectionFinder
127 LexicallyOrderedRecursiveASTVisitor::TraverseStmt(S); in TraverseStmt()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp812 if (S->getInit() && !TraverseStmt(S->getInit())) { in TraverseIfStmt()
819 if (!TraverseStmt(S->getConditionVariableDeclStmt())) in TraverseIfStmt()
821 } else if (S->getCond() && !TraverseStmt(S->getCond())) in TraverseIfStmt()
824 if (S->getThen() && !TraverseStmt(S->getThen())) in TraverseIfStmt()
826 if (S->getElse() && !TraverseStmt(S->getElse())) in TraverseIfStmt()
840 if (S->getInit() && !TraverseStmt(S->getInit())) in TraverseCXXForRangeStmt()
844 if (S->getRangeInit() && !TraverseStmt(S->getRangeInit())) in TraverseCXXForRangeStmt()
846 if (S->getBody() && !TraverseStmt(S->getBody())) in TraverseCXXForRangeStmt()
854 bool TraverseStmt(Stmt *S) { in TraverseStmt() function in __anon6fdbff5b0511::BuildTreeVisitor
860 return RecursiveASTVisitor::TraverseStmt(IgnoreImplicit(E)); in TraverseStmt()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp409 if (!base::TraverseStmt(Init)) in TraverseLambdaCapture()
426 if (!TraverseStmt(SubStmt, Q)) in TraverseInitListExpr()
519 BodyIndexer(*this, Parent, DC).TraverseStmt(const_cast<Stmt*>(S)); in indexBody()
H A DIndexTypeSourceInfo.cpp237 bool TraverseStmt(Stmt *S) { in TraverseStmt() function in __anon05ca7ad80111::TypeIndexer
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtOpenACC.cpp66 f.TraverseStmt(getAssociatedStmt()); in findAndSetChildLoops()
H A DASTStructuralEquivalence.cpp406 bool TraverseStmt(const Stmt *S1, const Stmt *S2) { return true; } in TraverseStmt() function in __anon60b649440111::StmtComparer
414 bool TraverseStmt(const CLASS *S1, const CLASS *S2) { \
415 if (!TraverseStmt(static_cast<const PARENT *>(S1), \
442 return TraverseStmt(static_cast<const CLASS *>(S1), \ in IsEquivalent()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCallGraph.h136 bool TraverseStmt(Stmt *S) { return true; } in TraverseStmt() function
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp105 TraverseStmt(const_cast<Stmt *>(StmtNode)); in findMatch()
134 return TraverseStmt(Node->getResultExpr()); in TraverseGenericSelectionExpr()
173 bool TraverseStmt(Stmt *Node, DataRecursionQueue *Queue = nullptr) { in TraverseStmt() function in clang::ast_matchers::MatchDescendantVisitor
178 return VisitorBase::TraverseStmt(Node); in TraverseStmt()
H A DReachableCode.cpp492 checker.TraverseStmt(const_cast<Stmt *>(CoroStmt)); in isInCoroutineStmt()
H A DCalledOnceCheck.cpp437 Impl.TraverseStmt(const_cast<Expr *>(From)); in collect()

12