From: Duncan P. N. Exon Smith Date: Fri, 26 Jun 2015 00:53:44 +0000 (+0000) Subject: AsmPrinter: More explicitly scope iterator for MSVC X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=544a31ea34350e9e1ac5d39a686019962048f17a;p=oota-llvm.git AsmPrinter: More explicitly scope iterator for MSVC r240748 seems to be on the right path. Be more explicit. http://lab.llvm.org:8011/builders/clang-x64-ninja-win7/builds/1961/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240750 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/DIE.h b/include/llvm/CodeGen/DIE.h index 03487d46e52..4170da065fb 100644 --- a/include/llvm/CodeGen/DIE.h +++ b/include/llvm/CodeGen/DIE.h @@ -513,7 +513,7 @@ public: public: const_iterator() = default; // Placate MSVC by explicitly scoping 'iterator'. - const_iterator(IntrusiveBackList::iterator X) : N(X.N) {} + const_iterator(typename IntrusiveBackList::iterator X) : N(X.N) {} explicit const_iterator(const T *N) : N(N) {} const_iterator &operator++() {