Remove decltype in an attempt to fix the MSVC build.

C++ is hard, attempt #1 of n.

llvm-svn: 227768
This commit is contained in:
Benjamin Kramer 2015-02-01 21:32:12 +00:00
parent 83d695419c
commit 95514e0422

View File

@ -735,12 +735,12 @@ public:
}
class iterator
: public llvm::iterator_adaptor_base<iterator, decltype(Decls)::iterator,
std::forward_iterator_tag,
NamedDecl *> {
: public llvm::iterator_adaptor_base<
iterator, llvm::DenseMap<NamedDecl *, NamedDecl *>::iterator,
std::forward_iterator_tag, NamedDecl *> {
friend class ADLResult;
iterator(decltype(Decls)::iterator Iter)
iterator(llvm::DenseMap<NamedDecl *, NamedDecl *>::iterator Iter)
: iterator_adaptor_base(std::move(Iter)) {}
public: