Fix build of DataFlow.h
authorTorok Edwin <edwintorok@gmail.com>
Wed, 4 Aug 2010 09:30:20 +0000 (09:30 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Wed, 4 Aug 2010 09:30:20 +0000 (09:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110193 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/DataFlow.h

index 8f79ead1c5338bc8b0c253952e7e649bd363bc28..355c402f542d3533d1287904269dd0f602bc5839 100644 (file)
@@ -25,7 +25,7 @@ namespace llvm {
 
 template <> struct GraphTraits<const Value*> {
   typedef const Value NodeType;
-  typedef Value::use_const_iterator ChildIteratorType;
+  typedef Value::const_use_iterator ChildIteratorType;
 
   static NodeType *getEntryNode(const Value *G) {
     return G;