[cfe-commits] r70269 - in /cfe/trunk: include/clang/AST/ExternalASTSource.h lib/AST/DeclBase.cpp
Eli Friedman
eli.friedman at gmail.com
Mon Apr 27 16:43:36 PDT 2009
Author: efriedma
Date: Mon Apr 27 18:43:36 2009
New Revision: 70269
URL: http://llvm.org/viewvc/llvm-project?rev=70269&view=rev
Log:
A couple more small changes which are probably required for Cygwin
builds to work (PR4088).
Modified:
cfe/trunk/include/clang/AST/ExternalASTSource.h
cfe/trunk/lib/AST/DeclBase.cpp
Modified: cfe/trunk/include/clang/AST/ExternalASTSource.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ExternalASTSource.h?rev=70269&r1=70268&r2=70269&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ExternalASTSource.h (original)
+++ cfe/trunk/include/clang/AST/ExternalASTSource.h Mon Apr 27 18:43:36 2009
@@ -87,7 +87,7 @@
/// \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.
Modified: cfe/trunk/lib/AST/DeclBase.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/DeclBase.cpp?rev=70269&r1=70268&r2=70269&view=diff
==============================================================================
--- cfe/trunk/lib/AST/DeclBase.cpp (original)
+++ cfe/trunk/lib/AST/DeclBase.cpp Mon Apr 27 18:43:36 2009
@@ -469,7 +469,7 @@
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;
More information about the cfe-commits
mailing list