summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-06-26 00:53:44 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-06-26 00:53:44 +0000
commitaaa68a60a95bc02ed226a5050bb4eddcf51697c0 (patch)
tree41459f3843b0d0e9df8b85df7b41df1de7f5d689
parenta29948873fe6026fef4d8b8acb067e0f1ffb1028 (diff)
downloadbcm5719-llvm-aaa68a60a95bc02ed226a5050bb4eddcf51697c0.tar.gz
bcm5719-llvm-aaa68a60a95bc02ed226a5050bb4eddcf51697c0.zip
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/ llvm-svn: 240750
-rw-r--r--llvm/include/llvm/CodeGen/DIE.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/DIE.h b/llvm/include/llvm/CodeGen/DIE.h
index 03487d46e52..4170da065fb 100644
--- a/llvm/include/llvm/CodeGen/DIE.h
+++ b/llvm/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<T>::iterator X) : N(X.N) {}
explicit const_iterator(const T *N) : N(N) {}
const_iterator &operator++() {
OpenPOWER on IntegriCloud