[llvm-commits] CVS: llvm/include/Support/STLExtras.h

Chris Lattner lattner at cs.uiuc.edu
Sun Oct 13 14:31:01 PDT 2002


Changes in directory llvm/include/Support:

STLExtras.h updated: 1.3 -> 1.4

---
Log message:

disable the unused "pointer" member


---
Diffs of the changes:

Index: llvm/include/Support/STLExtras.h
diff -u llvm/include/Support/STLExtras.h:1.3 llvm/include/Support/STLExtras.h:1.4
--- llvm/include/Support/STLExtras.h:1.3	Sun Apr 28 11:18:32 2002
+++ llvm/include/Support/STLExtras.h	Sun Oct 13 14:30:44 2002
@@ -75,7 +75,9 @@
   typedef typename std::iterator_traits<RootIt>::difference_type
           difference_type;
   typedef typename UnaryFunc::result_type value_type;
-  typedef typename UnaryFunc::result_type *pointer;
+
+  typedef void pointer;
+  //typedef typename UnaryFunc::result_type *pointer;
   typedef void reference;        // Can't modify value returned by fn
 
   typedef RootIt iterator_type;





More information about the llvm-commits mailing list