diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-04-27 23:43:36 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-04-27 23:43:36 +0000 |
commit | b0156ea412df1c2eb12d620054a404da71784cf5 (patch) | |
tree | e7548d446d3250ffa5ce6f1ca378c9e6ae505a52 | |
parent | 4e14823581407a5c7aa78c42b7af387a6c2322a0 (diff) |
A couple more small changes which are probably required for Cygwin
builds to work (PR4088).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70269 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/ExternalASTSource.h | 2 | ||||
-rw-r--r-- | lib/AST/DeclBase.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/AST/ExternalASTSource.h b/include/clang/AST/ExternalASTSource.h index db8a97034f..930173aa2a 100644 --- a/include/clang/AST/ExternalASTSource.h +++ b/include/clang/AST/ExternalASTSource.h @@ -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. diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index 707383af3a..071fb79101 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp @@ -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; |