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

References

tools/clang/lib/AST/ParentMap.cpp
  176   while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P) ||
  176   while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P) ||
  176   while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P) ||
  177                isa<FullExpr>(P))) {
  178     DirectChild = P;
  179     P = getParent(P);
  179     P = getParent(P);
  182   if (!P)
  185   switch (P->getStmtClass()) {
  187       return isa<Expr>(P);
  191       BinaryOperator *BE = cast<BinaryOperator>(P);
  197       return DirectChild == cast<ForStmt>(P)->getCond();
  199       return DirectChild == cast<WhileStmt>(P)->getCond();
  201       return DirectChild == cast<DoStmt>(P)->getCond();
  203       return DirectChild == cast<IfStmt>(P)->getCond();
  205       return DirectChild == cast<IndirectGotoStmt>(P)->getTarget();
  207       return DirectChild == cast<SwitchStmt>(P)->getCond();
  209       return DirectChild == cast<ObjCForCollectionStmt>(P)->getCollection();