summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-04-27 23:43:36 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-04-27 23:43:36 +0000
commitf66a2e12a4139be529ef72865f842ee75b3b0598 (patch)
treeb29349ccd1c91966df35fb1b4a05801d560a83a1 /clang
parenta90db0acd0233dc6ac92c0a27b8c61f137d94b04 (diff)
downloadbcm5719-llvm-f66a2e12a4139be529ef72865f842ee75b3b0598.tar.gz
bcm5719-llvm-f66a2e12a4139be529ef72865f842ee75b3b0598.zip
A couple more small changes which are probably required for Cygwin
builds to work (PR4088). llvm-svn: 70269
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/AST/ExternalASTSource.h2
-rw-r--r--clang/lib/AST/DeclBase.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/AST/ExternalASTSource.h b/clang/include/clang/AST/ExternalASTSource.h
index db8a97034fc..930173aa2a4 100644
--- a/clang/include/clang/AST/ExternalASTSource.h
+++ b/clang/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/clang/lib/AST/DeclBase.cpp b/clang/lib/AST/DeclBase.cpp
index 707383af3a8..071fb791013 100644
--- a/clang/lib/AST/DeclBase.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud