[cfe-commits] r54264 - /cfe/trunk/lib/Sema/IdentifierResolver.h

Argiris Kirtzidis akyrtzi at gmail.com
Fri Aug 1 03:20:48 PDT 2008


Author: akirtzidis
Date: Fri Aug  1 05:20:48 2008
New Revision: 54264

URL: http://llvm.org/viewvc/llvm-project?rev=54264&view=rev
Log:
Make the default constructor of IdentifierResolver::iterator public.

Modified:
    cfe/trunk/lib/Sema/IdentifierResolver.h

Modified: cfe/trunk/lib/Sema/IdentifierResolver.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/IdentifierResolver.h?rev=54264&r1=54263&r2=54264&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/IdentifierResolver.h (original)
+++ cfe/trunk/lib/Sema/IdentifierResolver.h Fri Aug  1 05:20:48 2008
@@ -188,7 +188,6 @@
     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 @@
     
     friend class IdentifierResolver;
   public:
+    iterator() : Ptr(0) {}
+
     NamedDecl *operator*() const {
       if (isIterator())
         return *getIterator();





More information about the cfe-commits mailing list