[llvm-commits] [llvm] r53517 - /llvm/trunk/include/llvm/ADT/alist.h
Ted Kremenek
kremenek at apple.com
Sat Jul 12 11:28:47 PDT 2008
Author: kremenek
Date: Sat Jul 12 13:28:46 2008
New Revision: 53517
URL: http://llvm.org/viewvc/llvm-project?rev=53517&view=rev
Log:
Inline typedef for alist_iterator::pointer to work with MSVC++.
Modified:
llvm/trunk/include/llvm/ADT/alist.h
Modified: llvm/trunk/include/llvm/ADT/alist.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/alist.h?rev=53517&r1=53516&r2=53517&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/alist.h (original)
+++ llvm/trunk/include/llvm/ADT/alist.h Sat Jul 12 13:28:46 2008
@@ -34,7 +34,11 @@
public:
typedef size_t size_type;
- typedef typename super::pointer pointer;
+
+ // FIX for MSVC++. This should be reviewed more.
+ // typedef typename super::pointer pointer;
+ typedef ValueT* pointer;
+
typedef typename super::reference reference;
alist_iterator(NodeIterT NI) : NodeIter(NI) {}
More information about the llvm-commits
mailing list