From 95514e0422cdc5857e1da1480c72726802834773 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 1 Feb 2015 21:32:12 +0000 Subject: [PATCH] Remove decltype in an attempt to fix the MSVC build. C++ is hard, attempt #1 of n. llvm-svn: 227768 --- clang/include/clang/Sema/Lookup.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clang/include/clang/Sema/Lookup.h b/clang/include/clang/Sema/Lookup.h index a9892d20f9c7..8ba78bea594a 100644 --- a/clang/include/clang/Sema/Lookup.h +++ b/clang/include/clang/Sema/Lookup.h @@ -735,12 +735,12 @@ public: } class iterator - : public llvm::iterator_adaptor_base { + : public llvm::iterator_adaptor_base< + iterator, llvm::DenseMap::iterator, + std::forward_iterator_tag, NamedDecl *> { friend class ADLResult; - iterator(decltype(Decls)::iterator Iter) + iterator(llvm::DenseMap::iterator Iter) : iterator_adaptor_base(std::move(Iter)) {} public: