Make the default constructor of IdentifierResolver::iterator public.

llvm-svn: 54264
This commit is contained in:
Argyrios Kyrtzidis 2008-08-01 10:20:48 +00:00
parent a113655c79
commit 85324837ce
1 changed files with 2 additions and 1 deletions

View File

@ -188,7 +188,6 @@ public:
uintptr_t Ptr;
typedef IdDeclInfo::DeclsTy::iterator BaseIter;
iterator() : Ptr(0) {}
/// A single NamedDecl. (Ptr & 0x1 == 0)
iterator(NamedDecl *D) {
Ptr = reinterpret_cast<uintptr_t>(D);
@ -216,6 +215,8 @@ public:
friend class IdentifierResolver;
public:
iterator() : Ptr(0) {}
NamedDecl *operator*() const {
if (isIterator())
return *getIterator();