Lines Matching full:clang
18 #include "clang/AST/Stmt.h"
27 template <> struct GraphTraits<clang::Stmt*> {
28 typedef clang::Stmt NodeType;
29 typedef clang::Stmt::child_iterator ChildIteratorType;
30 typedef llvm::df_iterator<clang::Stmt*> nodes_iterator;
32 static NodeType* getEntryNode(clang::Stmt* S) { return S; }
44 static nodes_iterator nodes_begin(clang::Stmt* S) {
48 static nodes_iterator nodes_end(clang::Stmt* S) {
54 template <> struct GraphTraits<const clang::Stmt*> {
55 typedef const clang::Stmt NodeType;
56 typedef clang::Stmt::const_child_iterator ChildIteratorType;
57 typedef llvm::df_iterator<const clang::Stmt*> nodes_iterator;
59 static NodeType* getEntryNode(const clang::Stmt* S) { return S; }
71 static nodes_iterator nodes_begin(const clang::Stmt* S) {
75 static nodes_iterator nodes_end(const clang::Stmt* S) {