15 #ifndef LLVM_CLANG_AST_STMTGRAPHTRAITS_H
16 #define LLVM_CLANG_AST_STMTGRAPHTRAITS_H
19 #include "llvm/ADT/DepthFirstIterator.h"
20 #include "llvm/ADT/GraphTraits.h"
27 template <>
struct GraphTraits<clang::Stmt*> {
54 template <>
struct GraphTraits<const clang::Stmt*> {
child_iterator child_begin()
static ChildIteratorType child_end(NodeRef N)
Stmt - This represents one statement.
static ChildIteratorType child_end(NodeRef N)
static NodeRef getEntryNode(const clang::Stmt *S)
static ChildIteratorType child_begin(NodeRef N)
llvm::df_iterator< const clang::Stmt * > nodes_iterator
static nodes_iterator nodes_end(clang::Stmt *S)
const clang::Stmt * NodeRef
static ChildIteratorType child_begin(NodeRef N)
static nodes_iterator nodes_begin(const clang::Stmt *S)
static nodes_iterator nodes_end(const clang::Stmt *S)
clang::Stmt::const_child_iterator ChildIteratorType
llvm::df_iterator< clang::Stmt * > nodes_iterator
clang::Stmt::child_iterator ChildIteratorType
static nodes_iterator nodes_begin(clang::Stmt *S)
static NodeRef getEntryNode(clang::Stmt *S)
child_iterator child_end()