Home
last modified time | relevance | path

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

123

/external/llvm-project/clang/include/clang/AST/
DRecursiveASTVisitor.h207 bool TraverseStmt(Stmt *S, DataRecursionQueue *Queue = nullptr);
571 bool RecursiveASTVisitor<Derived>::TraverseStmt(Stmt *S,
780 return getDerived().TraverseStmt(Arg.getAsExpr());
821 return getDerived().TraverseStmt(ArgLoc.getSourceExpression());
848 TRY_TO(TraverseStmt(Init->getInit()));
861 TRY_TO(TraverseStmt(Init));
906 TRY_TO(TraverseStmt(const_cast<Expr*>(T->getSizeExpr())));
914 TRY_TO(TraverseStmt(T->getSizeExpr()));
920 TRY_TO(TraverseStmt(T->getSizeExpr()));
924 TRY_TO(TraverseStmt(T->getAddrSpaceExpr()));
[all …]
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h173 bool TraverseStmt(Stmt *S, DataRecursionQueue *Queue = nullptr);
587 bool RecursiveASTVisitor<Derived>::TraverseStmt(Stmt *S,
802 return getDerived().TraverseStmt(Arg.getAsExpr());
843 return getDerived().TraverseStmt(ArgLoc.getSourceExpression());
870 TRY_TO(TraverseStmt(Init->getInit()));
947 TRY_TO(TraverseStmt(T->getSizeExpr()));
953 TRY_TO(TraverseStmt(T->getSizeExpr()));
958 TRY_TO(TraverseStmt(T->getSizeExpr()));
981 TRY_TO(TraverseStmt(NE));
988 { TRY_TO(TraverseStmt(T->getUnderlyingExpr())); })
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DFunctionCognitiveComplexityCheck.cpp228 bool ShouldContinue = Base::TraverseStmt(Node); in TraverseStmtWithIncreasedNestingLevel()
269 if (!TraverseStmt(Node->getInit())) in TraverseIfStmt()
272 if (!TraverseStmt(Node->getCond())) in TraverseIfStmt()
363 bool TraverseStmt(Stmt *Node) { in TraverseStmt() function in clang::tidy::readability::__anonb52cb2880111::FunctionASTVisitor
365 return Base::TraverseStmt(Node); in TraverseStmt()
448 return Base::TraverseStmt(Node); in TraverseStmt()
DFunctionSizeCheck.cpp39 bool TraverseStmt(Stmt *Node) { in TraverseStmt() function in clang::tidy::readability::__anon32b6d24d0111::FunctionASTVisitor
41 return Base::TraverseStmt(Node); in TraverseStmt()
63 Base::TraverseStmt(Node); in TraverseStmt()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNullptrCheck.cpp103 bool TraverseStmt(Stmt *S) { in TraverseStmt() function in clang::tidy::modernize::__anonf9331d6d0111::MacroArgUsageVisitor
106 if (!RecursiveASTVisitor<MacroArgUsageVisitor>::TraverseStmt(S)) in TraverseStmt()
181 bool TraverseStmt(Stmt *S) { in TraverseStmt() function in clang::tidy::modernize::__anonf9331d6d0111::CastSequenceVisitor
187 return RecursiveASTVisitor<CastSequenceVisitor>::TraverseStmt(S); in TraverseStmt()
295 ArgUsageVisitor.TraverseStmt(const_cast<Stmt *>(S)); in allArgUsesValid()
489 .TraverseStmt(const_cast<CastExpr *>(NullCast)); in check()
DLoopConvertUtils.h84 bool TraverseStmt(clang::Stmt *Statement);
97 TraverseStmt(const_cast<clang::Expr *>(SourceExpr)); in findExprComponents()
156 TraverseStmt(const_cast<clang::Stmt *>(Body)); in dependsOnInsideVariable()
189 TraverseStmt(const_cast<clang::Stmt *>(Body)); in findUsages()
357 bool TraverseStmt(Stmt *S);
DLoopConvertUtils.cpp39 bool StmtAncestorASTVisitor::TraverseStmt(Stmt *Statement) { in TraverseStmt() function in clang::tidy::modernize::StmtAncestorASTVisitor
42 RecursiveASTVisitor<StmtAncestorASTVisitor>::TraverseStmt(Statement); in TraverseStmt()
467 TraverseStmt(const_cast<Stmt *>(Body)); in findAndVerifyUsages()
821 bool ForLoopIndexUseVisitor::TraverseStmt(Stmt *S) { in TraverseStmt() function in clang::tidy::modernize::ForLoopIndexUseVisitor
839 bool Result = VisitorBase::TraverseStmt(S); in TraverseStmt()
/external/llvm-project/clang/unittests/Tooling/
DLexicallyOrderedRecursiveASTVisitorTest.cpp35 bool TraverseStmt(Stmt *S);
67 bool LexicallyOrderedDeclVisitor::TraverseStmt(Stmt *S) { in TraverseStmt() function in __anon6ec641d40111::LexicallyOrderedDeclVisitor
69 return LexicallyOrderedRecursiveASTVisitor::TraverseStmt(S); in TraverseStmt()
/external/llvm-project/clang/lib/Sema/
DSemaAvailability.cpp635 if (!Visitor.TraverseStmt(const_cast<Stmt *>(S))) in findLastStmtThatUsesDecl()
676 bool TraverseStmt(Stmt *S) { in TraverseStmt() function in __anona6de94870411::DiagnoseUnguardedAvailability
680 bool Result = Base::TraverseStmt(S); in TraverseStmt()
685 void IssueDiagnostics(Stmt *S) { TraverseStmt(S); } in IssueDiagnostics()
693 bool TraverseCaseStmt(CaseStmt *CS) { return TraverseStmt(CS->getSubStmt()); } in TraverseCaseStmt()
887 return TraverseStmt(If->getThen()) && TraverseStmt(If->getElse()); in TraverseIfStmt()
894 bool ShouldContinue = TraverseStmt(If->getThen()); in TraverseIfStmt()
897 return ShouldContinue && TraverseStmt(If->getElse()); in TraverseIfStmt()
/external/llvm-project/clang/lib/ARCMigrate/
DTransBlockObjCVariable.cpp93 bool onlyValueOfVarIsNeeded = checker.TraverseStmt(block->getBody()); in VisitBlockDecl()
131 trans.TraverseStmt(BodyCtx.getTopStmt()); in traverseBody()
DTransforms.cpp252 TraverseStmt(*I); in TraverseStmtExpr()
302 ReferenceClear(refs).TraverseStmt(S); in clearRefsIn()
306 ReferenceCollector(D, refs).TraverseStmt(S); in collectRefs()
310 RemovablesCollector(exprs).TraverseStmt(S); in collectRemovables()
338 bool TraverseStmt(Stmt *rootS) { in TraverseStmt() function in __anon9dda88ee0211::ASTTransform
DTransProtectedScope.cpp108 .TraverseStmt(BodyCtx.getTopStmt()); in ProtectedScopeFixer()
109 LocalRefsCollector(LocalRefs).TraverseStmt(BodyCtx.getTopStmt()); in ProtectedScopeFixer()
DTransUnusedInitDelegate.cpp46 TraverseStmt(body); in transformBody()
DTransGCCalls.cpp75 .TraverseStmt(BodyCtx.getTopStmt()); in traverseBody()
DTransAutoreleasePool.cpp80 TraverseStmt(body); in transformBody()
317 declarationLoc).TraverseStmt(*SI); in handlePoolScope()
343 releaseColl.TraverseStmt(*I); in handlePoolScope()
/external/clang/lib/ARCMigrate/
DTransBlockObjCVariable.cpp94 bool onlyValueOfVarIsNeeded = checker.TraverseStmt(block->getBody()); in VisitBlockDecl()
132 trans.TraverseStmt(BodyCtx.getTopStmt()); in traverseBody()
DTransforms.cpp257 TraverseStmt(*I); in TraverseStmtExpr()
306 ReferenceClear(refs).TraverseStmt(S); in clearRefsIn()
310 ReferenceCollector(D, refs).TraverseStmt(S); in collectRefs()
314 RemovablesCollector(exprs).TraverseStmt(S); in collectRemovables()
342 bool TraverseStmt(Stmt *rootS) { in TraverseStmt() function in __anon739feb000211::ASTTransform
DTransProtectedScope.cpp107 .TraverseStmt(BodyCtx.getTopStmt()); in ProtectedScopeFixer()
108 LocalRefsCollector(LocalRefs).TraverseStmt(BodyCtx.getTopStmt()); in ProtectedScopeFixer()
DTransUnusedInitDelegate.cpp47 TraverseStmt(body); in transformBody()
DTransGCCalls.cpp76 .TraverseStmt(BodyCtx.getTopStmt()); in traverseBody()
DTransAutoreleasePool.cpp81 TraverseStmt(body); in transformBody()
318 declarationLoc).TraverseStmt(*SI); in handlePoolScope()
344 releaseColl.TraverseStmt(*I); in handlePoolScope()
/external/llvm-project/clang/lib/Tooling/Refactoring/
DASTSelection.cpp67 return TraverseStmt(E->getSyntacticForm()); in TraversePseudoObjectExpr()
74 return TraverseStmt(E->getSourceExpr()); in TraverseOpaqueValueExpr()
111 bool TraverseStmt(Stmt *S) { in TraverseStmt() function in __anonaec46acd0111::ASTSelectionFinder
126 LexicallyOrderedRecursiveASTVisitor::TraverseStmt(S); in TraverseStmt()
/external/clang/lib/Index/
DIndexBody.cpp323 if (!TraverseStmt(SubStmt, Q)) in TraverseInitListExpr()
335 SyntacticFormIndexer(IndexCtx, Parent, ParentDC).TraverseStmt(SyntaxForm); in TraverseInitListExpr()
358 BodyIndexer(*this, Parent, DC).TraverseStmt(const_cast<Stmt*>(S)); in indexBody()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp146 bool TraverseStmt(Stmt *StmtNode) { in TraverseStmt() function in clang::ast_matchers::internal::__anon5fe87f1e0111::MatchChildASTVisitor
223 return VisitorBase::TraverseStmt(const_cast<Stmt*>(&StmtNode)); in baseTraverse()
369 bool TraverseStmt(Stmt *StmtNode);
823 bool MatchASTVisitor::TraverseStmt(Stmt *StmtNode) { in TraverseStmt() function in clang::ast_matchers::internal::__anon5fe87f1e0111::MatchASTVisitor
828 return RecursiveASTVisitor<MatchASTVisitor>::TraverseStmt(StmtNode); in TraverseStmt()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc102 TraverseStmt(arg); in ProbeChecker()
270 if (!TraverseStmt(E)) in assignsExtPtr()
323 bool ProbeVisitor::TraverseStmt(Stmt *S) { in TraverseStmt() function in ebpf::ProbeVisitor
326 auto ret = RecursiveASTVisitor<ProbeVisitor>::TraverseStmt(S); in TraverseStmt()
385 if (!TraverseStmt(R->getRetValue())) in VisitReturnStmt()
410 setter.TraverseStmt(E->getLHS()); in VisitBinaryOperator()
473 if (!TraverseStmt(Call)) in VisitMemberExpr()
735 if (!TraverseStmt(child)) in TraverseCallExpr()

123