]> granicus.if.org Git - clang/commitdiff
A couple more small changes which are probably required for Cygwin
authorEli Friedman <eli.friedman@gmail.com>
Mon, 27 Apr 2009 23:43:36 +0000 (23:43 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 27 Apr 2009 23:43:36 +0000 (23:43 +0000)
builds to work (PR4088).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70269 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ExternalASTSource.h
lib/AST/DeclBase.cpp

index db8a97034fc4f2b34479b651b69c12917b59b0b4..930173aa2a4dec334dabb00a77f9c3b2ee80fae7 100644 (file)
@@ -87,7 +87,7 @@ public:
   /// \returns true if there was an error while reading the
   /// declarations for this declaration context.
   virtual bool ReadDeclsLexicallyInContext(DeclContext *DC,
-                                  llvm::SmallVectorImpl<unsigned> &Decls) = 0;
+                                  llvm::SmallVectorImpl<uint32_t> &Decls) = 0;
 
   /// \brief Read all of the declarations visible from a declaration
   /// context.
index 707383af3a8f3262734f3305b9e4bfa2d8e90007..071fb791013ddaa29ceca575d5c7ac2270352274 100644 (file)
@@ -469,7 +469,7 @@ DeclContext::LoadLexicalDeclsFromExternalStorage(ASTContext &Context) const {
   ExternalASTSource *Source = Context.getExternalSource();
   assert(hasExternalLexicalStorage() && Source && "No external storage?");
 
-  llvm::SmallVector<unsigned, 64> Decls;
+  llvm::SmallVector<uint32_t, 64> Decls;
   if (Source->ReadDeclsLexicallyInContext(const_cast<DeclContext *>(this), 
                                           Decls))
     return;