A couple more small changes which are probably required for Cygwin

builds to work (PR4088).

llvm-svn: 70269
This commit is contained in:
Eli Friedman 2009-04-27 23:43:36 +00:00
parent a90db0acd0
commit f66a2e12a4
2 changed files with 2 additions and 2 deletions

View 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.

View 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;