forked from OSchip/llvm-project
A couple more small changes which are probably required for Cygwin
builds to work (PR4088). llvm-svn: 70269
This commit is contained in:
parent
a90db0acd0
commit
f66a2e12a4
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue