summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/unittests/ADT/SCCIteratorTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/llvm/unittests/ADT/SCCIteratorTest.cpp')
-rw-r--r--gnu/llvm/unittests/ADT/SCCIteratorTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/llvm/unittests/ADT/SCCIteratorTest.cpp b/gnu/llvm/unittests/ADT/SCCIteratorTest.cpp
index da8c04483f9..597661fd8cc 100644
--- a/gnu/llvm/unittests/ADT/SCCIteratorTest.cpp
+++ b/gnu/llvm/unittests/ADT/SCCIteratorTest.cpp
@@ -230,6 +230,7 @@ public:
template <unsigned N>
struct GraphTraits<Graph<N> > {
typedef typename Graph<N>::NodeType NodeType;
+ typedef typename Graph<N>::NodeType *NodeRef;
typedef typename Graph<N>::ChildIterator ChildIteratorType;
static inline NodeType *getEntryNode(const Graph<N> &G) { return G.AccessNode(0); }