From: Eli Friedman Date: Mon, 27 Apr 2009 23:43:36 +0000 (+0000) Subject: A couple more small changes which are probably required for Cygwin X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b0156ea412df1c2eb12d620054a404da71784cf5;p=clang 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 --- 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 &Decls) = 0; + llvm::SmallVectorImpl &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 Decls; + llvm::SmallVector Decls; if (Source->ReadDeclsLexicallyInContext(const_cast(this), Decls)) return;