[PATCH] D48758: Remove duplicated typedef in ilist.h

Yonggang Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 29 02:13:17 PDT 2018


lygstate created this revision.
Herald added subscribers: llvm-commits, dexonsmith.

Typedef iplist_impl_type twice(in Base Class and Sub Class) cause visual studio compiling failed in external projects.
Specifically (https://github.com/pytorch/glow).


Repository:
  rL LLVM

https://reviews.llvm.org/D48758

Files:
  include/llvm/ADT/ilist.h


Index: include/llvm/ADT/ilist.h
===================================================================
--- include/llvm/ADT/ilist.h
+++ include/llvm/ADT/ilist.h
@@ -402,7 +402,6 @@
 template <class T, class... Options>
 class iplist
     : public iplist_impl<simple_ilist<T, Options...>, ilist_traits<T>> {
-  typedef typename iplist::iplist_impl_type iplist_impl_type;
 
 public:
   iplist() = default;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48758.153453.patch
Type: text/x-patch
Size: 401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180629/cee660fa/attachment.bin>


More information about the llvm-commits mailing list