@@ -999,6 +999,7 @@ template <> struct simplify_type< ::clang::CFGTerminator> {
999999
10001000template <> struct GraphTraits < ::clang::CFGBlock *> {
10011001 typedef ::clang::CFGBlock NodeType;
1002+ typedef ::clang::CFGBlock *NodeRef;
10021003 typedef ::clang::CFGBlock::succ_iterator ChildIteratorType;
10031004
10041005 static NodeType* getEntryNode (::clang::CFGBlock *BB)
@@ -1013,6 +1014,7 @@ template <> struct GraphTraits< ::clang::CFGBlock *> {
10131014
10141015template <> struct GraphTraits < const ::clang::CFGBlock *> {
10151016 typedef const ::clang::CFGBlock NodeType;
1017+ typedef const ::clang::CFGBlock *NodeRef;
10161018 typedef ::clang::CFGBlock::const_succ_iterator ChildIteratorType;
10171019
10181020 static NodeType* getEntryNode (const clang::CFGBlock *BB)
@@ -1027,6 +1029,7 @@ template <> struct GraphTraits< const ::clang::CFGBlock *> {
10271029
10281030template <> struct GraphTraits <Inverse< ::clang::CFGBlock*> > {
10291031 typedef ::clang::CFGBlock NodeType;
1032+ typedef ::clang::CFGBlock *NodeRef;
10301033 typedef ::clang::CFGBlock::const_pred_iterator ChildIteratorType;
10311034
10321035 static NodeType *getEntryNode (Inverse< ::clang::CFGBlock*> G)
@@ -1041,6 +1044,7 @@ template <> struct GraphTraits<Inverse< ::clang::CFGBlock*> > {
10411044
10421045template <> struct GraphTraits <Inverse<const ::clang::CFGBlock*> > {
10431046 typedef const ::clang::CFGBlock NodeType;
1047+ typedef const ::clang::CFGBlock *NodeRef;
10441048 typedef ::clang::CFGBlock::const_pred_iterator ChildIteratorType;
10451049
10461050 static NodeType *getEntryNode (Inverse<const ::clang::CFGBlock*> G)
0 commit comments