summaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-13 19:30:44 +0000
committerChris Lattner <sabre@nondot.org>2002-10-13 19:30:44 +0000
commitd063725c3c6e36b711106f06e0cab11a1283f349 (patch)
treed222847b9c2b737e7735a7727666230015d3f6ec /include/llvm
parenteaa359586c45712cb1e4be0cc8d9e6da5448963a (diff)
downloadexternal_llvm-d063725c3c6e36b711106f06e0cab11a1283f349.zip
external_llvm-d063725c3c6e36b711106f06e0cab11a1283f349.tar.gz
external_llvm-d063725c3c6e36b711106f06e0cab11a1283f349.tar.bz2
disable the unused "pointer" member
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4144 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/ADT/STLExtras.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h
index 8196aeb..4112b1f 100644
--- a/include/llvm/ADT/STLExtras.h
+++ b/include/llvm/ADT/STLExtras.h
@@ -75,7 +75,9 @@ public:
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;