reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/DepthFirstIterator.h
  131         NodeRef Next = *(*Opt)++;
include/llvm/Support/GraphWriter.h
  231       if (!DTraits.isNodeHidden(*EI))
  234       if (!DTraits.isNodeHidden(*EI))
  239     if (NodeRef TargetNode = *EI) {
tools/clang/include/clang/AST/ASTNodeTraverser.h
  115       for (const Stmt *SubStmt : S->children())
  178       for (const auto *S : C->children())
tools/clang/include/clang/AST/EvaluatedExprVisitor.h
  101     for (auto *SubStmt : S->children())
tools/clang/include/clang/AST/Expr.h
 4850     return cast<Expr>(*const_cast<DesignatedInitExpr*>(this)->child_begin());
 4854     *child_begin() = init;
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 2315     for (Stmt *SubStmt : S->children()) {
tools/clang/include/clang/AST/StmtIterator.h
  119   REFERENCE operator->() const { return operator*(); }
tools/clang/include/clang/AST/StmtOpenMP.h
   87     *child_begin() = S;
  123     Stmt *operator*() const { return *ChildI; }
  255     return *child_begin();
  259     return *child_begin();
  488         &(*(std::next(child_begin(), getArraysOffset(getDirectiveKind())))));
  494     Expr **Storage = reinterpret_cast<Expr **>(&*std::next(
  502         &*std::next(child_begin(),
  510         &*std::next(child_begin(),
  518         &*std::next(child_begin(),
  526         &*std::next(child_begin(),
  534         &*std::next(child_begin(),
  542         &*std::next(child_begin(),
  588     *std::next(child_begin(), IterationVariableOffset) = IV;
  591     *std::next(child_begin(), LastIterationOffset) = LI;
  594     *std::next(child_begin(), CalcLastIterationOffset) = CLI;
  597     *std::next(child_begin(), PreConditionOffset) = PC;
  600     *std::next(child_begin(), CondOffset) = Cond;
  602   void setInit(Expr *Init) { *std::next(child_begin(), InitOffset) = Init; }
  603   void setInc(Expr *Inc) { *std::next(child_begin(), IncOffset) = Inc; }
  605     *std::next(child_begin(), PreInitsOffset) = PreInits;
  612     *std::next(child_begin(), IsLastIterVariableOffset) = IL;
  619     *std::next(child_begin(), LowerBoundVariableOffset) = LB;
  626     *std::next(child_begin(), UpperBoundVariableOffset) = UB;
  633     *std::next(child_begin(), StrideVariableOffset) = ST;
  640     *std::next(child_begin(), EnsureUpperBoundOffset) = EUB;
  647     *std::next(child_begin(), NextLowerBoundOffset) = NLB;
  654     *std::next(child_begin(), NextUpperBoundOffset) = NUB;
  661     *std::next(child_begin(), NumIterationsOffset) = NI;
  666     *std::next(child_begin(), PrevLowerBoundVariableOffset) = PrevLB;
  671     *std::next(child_begin(), PrevUpperBoundVariableOffset) = PrevUB;
  676     *std::next(child_begin(), DistIncOffset) = DistInc;
  681     *std::next(child_begin(), PrevEnsureUpperBoundOffset) = PrevEUB;
  686     *std::next(child_begin(), CombinedLowerBoundVariableOffset) = CombLB;
  691     *std::next(child_begin(), CombinedUpperBoundVariableOffset) = CombUB;
  696     *std::next(child_begin(), CombinedEnsureUpperBoundOffset) = CombEUB;
  701     *std::next(child_begin(), CombinedInitOffset) = CombInit;
  706     *std::next(child_begin(), CombinedConditionOffset) = CombCond;
  711     *std::next(child_begin(), CombinedNextLowerBoundOffset) = CombNLB;
  716     *std::next(child_begin(), CombinedNextUpperBoundOffset) = CombNUB;
  721     *std::next(child_begin(), CombinedDistConditionOffset) = CombDistCond;
  726     *std::next(child_begin(),
  915         *std::next(child_begin(), IterationVariableOffset)));
  919         *std::next(child_begin(), LastIterationOffset)));
  923         *std::next(child_begin(), CalcLastIterationOffset)));
  927         *std::next(child_begin(), PreConditionOffset)));
  931         reinterpret_cast<const Expr *>(*std::next(child_begin(), CondOffset)));
  935         reinterpret_cast<const Expr *>(*std::next(child_begin(), InitOffset)));
  939         reinterpret_cast<const Expr *>(*std::next(child_begin(), IncOffset)));
  942     return *std::next(child_begin(), PreInitsOffset);
  944   Stmt *getPreInits() { return *std::next(child_begin(), PreInitsOffset); }
  951         *std::next(child_begin(), IsLastIterVariableOffset)));
  959         *std::next(child_begin(), LowerBoundVariableOffset)));
  967         *std::next(child_begin(), UpperBoundVariableOffset)));
  975         *std::next(child_begin(), StrideVariableOffset)));
  983         *std::next(child_begin(), EnsureUpperBoundOffset)));
  991         *std::next(child_begin(), NextLowerBoundOffset)));
  999         *std::next(child_begin(), NextUpperBoundOffset)));
 1007         *std::next(child_begin(), NumIterationsOffset)));
 1013         *std::next(child_begin(), PrevLowerBoundVariableOffset)));
 1019         *std::next(child_begin(), PrevUpperBoundVariableOffset)));
 1025         *std::next(child_begin(), DistIncOffset)));
 1031         *std::next(child_begin(), PrevEnsureUpperBoundOffset)));
 1037         *std::next(child_begin(), CombinedLowerBoundVariableOffset)));
 1043         *std::next(child_begin(), CombinedUpperBoundVariableOffset)));
 1049         *std::next(child_begin(), CombinedEnsureUpperBoundOffset)));
 1055         *std::next(child_begin(), CombinedInitOffset)));
 1061         *std::next(child_begin(), CombinedConditionOffset)));
 1067         *std::next(child_begin(), CombinedNextLowerBoundOffset)));
 1073         *std::next(child_begin(), CombinedNextUpperBoundOffset)));
 1079         *std::next(child_begin(), CombinedDistConditionOffset)));
 1085         *std::next(child_begin(), CombinedParForInDistConditionOffset)));
 2155     *std::next(child_begin(), 1) = RR;
 2184     return static_cast<const Expr *>(*std::next(child_begin(), 1));
 2187     return static_cast<Expr *>(*std::next(child_begin(), 1));
 2360   void setX(Expr *X) { *std::next(child_begin()) = X; }
 2364   void setUpdateExpr(Expr *UE) { *std::next(child_begin(), 2) = UE; }
 2366   void setV(Expr *V) { *std::next(child_begin(), 3) = V; }
 2368   void setExpr(Expr *E) { *std::next(child_begin(), 4) = E; }
 2405   Expr *getX() { return cast_or_null<Expr>(*std::next(child_begin())); }
 2407     return cast_or_null<Expr>(*std::next(child_begin()));
 2413     return cast_or_null<Expr>(*std::next(child_begin(), 2));
 2416     return cast_or_null<Expr>(*std::next(child_begin(), 2));
 2426   Expr *getV() { return cast_or_null<Expr>(*std::next(child_begin(), 3)); }
 2428     return cast_or_null<Expr>(*std::next(child_begin(), 3));
 2431   Expr *getExpr() { return cast_or_null<Expr>(*std::next(child_begin(), 4)); }
 2433     return cast_or_null<Expr>(*std::next(child_begin(), 4));
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h
   36   for (const Stmt *Child : S->children())
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  359     for (Stmt *SubStmt : E->children())
tools/clang/lib/ARCMigrate/TransAutoreleasePool.cpp
   98         clearRefsIn(*scope.Begin, info.Refs);
   99         clearRefsIn(*scope.End, info.Refs);
  122         clearUnavailableDiags(*scope.Begin);
  123         clearUnavailableDiags(*scope.End);
  126           Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {");
  127           Pass.TA.removeStmt(*scope.End);
  131               findLocationAfterSemi((*retI)->getEndLoc(), Pass.Ctx);
  138                           (*retI)->getEndLoc()),
  141           Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {");
  142           Pass.TA.replaceStmt(*scope.End, "}");
  168       Stmt *child = getEssential(*I);
  243       return SourceRange((*rangeS)->getBeginLoc(), (*rangeE)->getEndLoc());
  243       return SourceRange((*rangeS)->getBeginLoc(), (*rangeE)->getEndLoc());
  258       ScopeRange = SourceRange((*scope.Begin)->getBeginLoc(),
  259                                (*scope.End)->getBeginLoc());
  306         if (ReturnStmt *retS = dyn_cast<ReturnStmt>(*SI))
  317                                               declarationLoc).TraverseStmt(*SI);
  330                            (*scope.Begin)->getBeginLoc());
  332                            (*scope.End)->getBeginLoc());
  343         releaseColl.TraverseStmt(*I);
tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
  265       if (*currChildS == InnerS)
  271       prevStmt = *prevChildS;
  282     nextStmt = *currChildS;
  358     auto *CompS = dyn_cast_or_null<CompoundStmt>(*StmtExprChild.begin());
  365     auto *DeclS = dyn_cast_or_null<DeclStmt>(*CompStmtChild.begin());
tools/clang/lib/AST/Expr.cpp
 3616   for (const Stmt *SubStmt : children())
 4250   *Child++ = Init;
 4270       *Child++ = IndexExprs[IndexIdx++];
 4290       *Child++ = IndexExprs[IndexIdx++];
 4291       *Child++ = IndexExprs[IndexIdx++];
tools/clang/lib/AST/ParentMap.cpp
   41       for (Stmt *SubStmt : S->children())
   87     for (Stmt *SubStmt : S->children()) {
   99     for (Stmt *SubStmt : S->children()) {
tools/clang/lib/AST/StmtPrinter.cpp
 2308     Visit(*I);
tools/clang/lib/AST/StmtProfile.cpp
  222   for (const Stmt *SubStmt : S->children()) {
tools/clang/lib/Analysis/AnalysisDeclContext.cpp
  593     for (auto *Child : S->children())
tools/clang/lib/Analysis/CFG.cpp
  446   for (Stmt *SubStmt : S->children())
 4710   for (Stmt *Child : E->children())
tools/clang/lib/Analysis/CallGraph.cpp
  132     for (Stmt *SubStmt : S->children())
tools/clang/lib/Analysis/CloneDetection.cpp
  259   for (const Stmt *Child : S->children()) {
  323     for (const Stmt *Child : S->children()) {
  454     for (const Stmt *S : Seq.front()->children()) {
  556   for (const Stmt *Child : S->children()) {
tools/clang/lib/Analysis/LiveVariables.cpp
  361   for (Stmt *Child : S->children()) {
tools/clang/lib/CodeGen/CGCoroutine.cpp
  331     for (auto *C : S->children()) {
tools/clang/lib/CodeGen/CGDecl.cpp
  648   for (const Stmt *SubStmt : s->children())
 1590   for (const Stmt *SubStmt : S->children())
 1638   for (const Stmt *SubStmt : E->children())
tools/clang/lib/CodeGen/CGException.cpp
 1670     for (const Stmt *Child : S->children())
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 9575   for (const Stmt *II : S->children())
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  570     for (const Stmt *Child : E->children())
  578     for (const Stmt *Child : S->children())
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 2658         for (const Stmt *SubStmt : CS->children()) {
tools/clang/lib/CodeGen/CodeGenFunction.cpp
 1272   for (const Stmt *SubStmt : S->children())
 1296   for (const Stmt *SubStmt : S->children())
 1319   for (const Stmt *SubStmt : S->children())
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2601       for (const Stmt *Child : S->children())
tools/clang/lib/CodeGen/CodeGenPGO.cpp
  219     for (Stmt *CS : If->children()) {
  384     for (const Stmt *Child : S->children())
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
  864     for (const Stmt *Child : S->children())
 1119         for (const auto *Child : CS->children())
tools/clang/lib/CodeGen/VarBypassDetector.cpp
  104   for (const Stmt *SubStmt : S->children()) {
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 1910   for (Stmt *SubStmt : S->children())
 4459   for (Stmt *SubStmt : S->children())
 4477   for (Stmt *SubStmt : S->children())
 5451   for (Stmt *&childStmt : S->children())
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 1717   for (Stmt *SubStmt : S->children())
 1730   for (Stmt *SubStmt : S->children())
 1740   for (Stmt *SubStmt : S->children())
 1761   for (Stmt *SubStmt : S->children())
 3646   for (Stmt *SubStmt : S->children())
 3664   for (Stmt *SubStmt : S->children())
 4573   for (Stmt *&childStmt : S->children())
tools/clang/lib/Index/IndexBody.cpp
  408       for (Stmt *SubStmt : Form->children()) {
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
  136     for (const Stmt *SubStmt : E->children())
tools/clang/lib/Sema/JumpDiagnostics.cpp
  571   for (Stmt *SubStmt : S->children()) {
tools/clang/lib/Sema/SemaChecking.cpp
12119   for (Stmt *SubStmt : E->children()) {
tools/clang/lib/Sema/SemaDecl.cpp
10811       for (auto Child : InitList->children()) {
14030       for (const Stmt *S : Body->children()) {
tools/clang/lib/Sema/SemaDeclCXX.cpp
   78     for (Stmt *SubStmt : Node->children())
 2041     for (Stmt *SubStmt : S->children())
 2056     for (Stmt *SubStmt : S->children())
 2069     for (Stmt *SubStmt : S->children()) {
 2148   for (Stmt *SubStmt : Body->children()) {
 3650       for (auto Child : ILE->children()) {
15289   for (Stmt *SubStmt : S->children()) {
tools/clang/lib/Sema/SemaExceptionSpec.cpp
  975   for (const Stmt *SubStmt : E->children()) {
tools/clang/lib/Sema/SemaOpenMP.cpp
 2412     for (const Stmt *Child : S->children()) {
 3033         for (Stmt *CC : C->children()) {
 3043     for (Stmt *C : S->children()) {
 3668       for (Stmt *VarRef : Clause->children()) {
 4666       for (Stmt *CC : C->children()) {
 5607     for (const Stmt *Child : S->children())
 7775     for (Stmt *SectionStmt : llvm::make_range(std::next(S.begin()), S.end())) {
 8018     for (Stmt *SectionStmt : llvm::make_range(std::next(S.begin()), S.end())) {
12681     for (Stmt *Child : S->children()) {
tools/clang/lib/Sema/SemaStmtAsm.cpp
  150     for (Stmt *Child : E->children()) {
tools/clang/lib/Serialization/ASTWriterStmt.cpp
  350   for (Stmt *S : CoroStmt->children())
  367   for (Stmt *S : E->children())
  386   for (Stmt *S : E->children())
tools/clang/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp
  273   for (Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
  122   for (Stmt *Child : S->children())
  186   for (Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp
   39   for (Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp
   79       for (const Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp
  335       if (!*I1 || !*I2 || !isIdenticalStmt(Ctx, *I1, *I2, IgnoreSideEffects))
  335       if (!*I1 || !*I2 || !isIdenticalStmt(Ctx, *I1, *I2, IgnoreSideEffects))
  335       if (!*I1 || !*I2 || !isIdenticalStmt(Ctx, *I1, *I2, IgnoreSideEffects))
  335       if (!*I1 || !*I2 || !isIdenticalStmt(Ctx, *I1, *I2, IgnoreSideEffects))
tools/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
  166       for (const auto *Child : S->children()) {
tools/clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
  125     for (Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
 1059       for (const Stmt *Child : S->children()) {
tools/clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp
   67     for (const Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
  154   for (Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp
   59   for (const Stmt *SubStmt : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
  233   for (const Stmt *Child : Ex->children()) {
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
  596   for (const Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp
   66   for (const Stmt *C : Parent->children()) {
tools/clang/lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp
   40       for (const Stmt *SubStmt : Ex->children())
tools/clang/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp
   42   for (const Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp
   29   for (const Stmt *Child : S->children())
   43   for (const Stmt *Child : S->children())
   59   for (const Stmt *Child : S->children())
   71   for (const Stmt *Child : S->children())
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
 1481           for (auto Child : Ex->children()) {
tools/clang/tools/extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp
   58   for (const Stmt *Child : S->children()) {
  125   for (const Stmt *Child : Cond->children()) {
  143   for (const Stmt *Child : Cond->children()) {
tools/clang/tools/extra/clang-tidy/bugprone/MultipleStatementMacroCheck.cpp
   32   for (const Stmt *Child : Parent->children()) {
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp
   73     if (!areEquivalentExpr(dyn_cast<Expr>(*LeftIter),
   74                            dyn_cast<Expr>(*RightIter)))
tools/clang/tools/extra/clang-tidy/utils/ExceptionAnalyzer.cpp
  199     for (const Stmt *Child : St->children()) {
tools/clang/tools/extra/clangd/unittests/SourceCodeTests.cpp
  590   const auto &Loop = cast<WhileStmt>(*Body->child_begin());
tools/clang/tools/libclang/CIndex.cpp
 2129   for (const Stmt *SubStmt : S->children()) {
tools/lldb/tools/lldb-instr/Instrument.cpp
  176     for (auto &C : Body->children()) {
usr/include/c++/7.4.0/bits/stl_uninitialized.h
   83 		std::_Construct(std::__addressof(*__cur), *__first);