[llvm] r240750 - AsmPrinter: More explicitly scope iterator for MSVC
Duncan P. N. Exon Smith
dexonsmith at apple.com
Thu Jun 25 17:53:45 PDT 2015
Author: dexonsmith
Date: Thu Jun 25 19:53:44 2015
New Revision: 240750
URL: http://llvm.org/viewvc/llvm-project?rev=240750&view=rev
Log:
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/
Modified:
llvm/trunk/include/llvm/CodeGen/DIE.h
Modified: llvm/trunk/include/llvm/CodeGen/DIE.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/DIE.h?rev=240750&r1=240749&r2=240750&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/DIE.h (original)
+++ llvm/trunk/include/llvm/CodeGen/DIE.h Thu Jun 25 19:53:44 2015
@@ -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<T>::iterator X) : N(X.N) {}
explicit const_iterator(const T *N) : N(N) {}
const_iterator &operator++() {
More information about the llvm-commits
mailing list