]> granicus.if.org Git - clang/commitdiff
Replace a using declararion with a typedef in the hope of satisfying GCC
authorDouglas Gregor <dgregor@apple.com>
Sat, 14 Jan 2012 16:48:12 +0000 (16:48 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 14 Jan 2012 16:48:12 +0000 (16:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148188 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Decl.h
include/clang/AST/DeclObjC.h
include/clang/AST/DeclTemplate.h

index 4d01520467b1ab0de12e7aff63449d9f9ca46979..5c6b447f91fe04592c9e8a82dc0ab6c219ec8474 100644 (file)
@@ -395,7 +395,7 @@ public:
 
   static NamespaceDecl *CreateDeserialized(ASTContext &C, unsigned ID);
 
-  using redeclarable_base::redecl_iterator;
+  typedef redeclarable_base::redecl_iterator redecl_iterator;
   using redeclarable_base::redecls_begin;
   using redeclarable_base::redecls_end;
   using redeclarable_base::getPreviousDecl;
@@ -792,7 +792,7 @@ protected:
   }
 
 public:
-  using redeclarable_base::redecl_iterator;
+  typedef redeclarable_base::redecl_iterator redecl_iterator;
   using redeclarable_base::redecls_begin;
   using redeclarable_base::redecls_end;
   using redeclarable_base::getPreviousDecl;
@@ -1505,7 +1505,7 @@ protected:
   }
 
 public:
-  using redeclarable_base::redecl_iterator;
+  typedef redeclarable_base::redecl_iterator redecl_iterator;
   using redeclarable_base::redecls_begin;
   using redeclarable_base::redecls_end;
   using redeclarable_base::getPreviousDecl;
@@ -2291,7 +2291,7 @@ protected:
   }
 
 public:
-  using redeclarable_base::redecl_iterator;
+  typedef redeclarable_base::redecl_iterator redecl_iterator;
   using redeclarable_base::redecls_begin;
   using redeclarable_base::redecls_end;
   using redeclarable_base::getPreviousDecl;
@@ -2463,7 +2463,7 @@ protected:
   void completeDefinition();
 
 public:
-  using redeclarable_base::redecl_iterator;
+  typedef redeclarable_base::redecl_iterator redecl_iterator;
   using redeclarable_base::redecls_begin;
   using redeclarable_base::redecls_end;
   using redeclarable_base::getPreviousDecl;
index be0e3d9240f9d9d000dda1b93d63b4af66fd78ab..c54bb5526d69d47ec38476a63ef2a5d39f5be817 100644 (file)
@@ -936,7 +936,7 @@ public:
                                bool lookupCategory,
                                bool RHSIsQualifiedID = false);
 
-  using redeclarable_base::redecl_iterator;
+  typedef redeclarable_base::redecl_iterator redecl_iterator;
   using redeclarable_base::redecls_begin;
   using redeclarable_base::redecls_end;
   using redeclarable_base::getPreviousDecl;
@@ -1221,7 +1221,7 @@ public:
     return SourceRange(getAtStartLoc(), getLocation());
   }
    
-  using redeclarable_base::redecl_iterator;
+  typedef redeclarable_base::redecl_iterator redecl_iterator;
   using redeclarable_base::redecls_begin;
   using redeclarable_base::redecls_end;
   using redeclarable_base::getPreviousDecl;
index e66fee9da8457694a5646e96542e3c267175a464..511f9c7edf470e6a692d6099c25cc4572bde34ee 100644 (file)
@@ -628,7 +628,7 @@ public:
     getCommonPtr()->InstantiatedFromMember.setPointer(TD);
   }
 
-  using redeclarable_base::redecl_iterator;
+  typedef redeclarable_base::redecl_iterator redecl_iterator;
   using redeclarable_base::redecls_begin;
   using redeclarable_base::redecls_end;
   using redeclarable_base::getPreviousDecl;