summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclBase.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-02-22 09:51:33 +0000
committerBill Wendling <isanbard@gmail.com>2012-02-22 09:51:33 +0000
commit8eb771d4ca343ae6baf884c9d9a77e09469052bb (patch)
treec503a6e672be88bd9feff45d6ea6521644de67da /clang/lib/AST/DeclBase.cpp
parent8ac06afa9bdcc155fc469d3e7309fadf22b12686 (diff)
downloadbcm5719-llvm-8eb771d4ca343ae6baf884c9d9a77e09469052bb.tar.gz
bcm5719-llvm-8eb771d4ca343ae6baf884c9d9a77e09469052bb.zip
More ArrayRef-ification of methods.
llvm-svn: 151152
Diffstat (limited to 'clang/lib/AST/DeclBase.cpp')
-rw-r--r--clang/lib/AST/DeclBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclBase.cpp b/clang/lib/AST/DeclBase.cpp
index efbc5f99238..dbb0b6bfa4c 100644
--- a/clang/lib/AST/DeclBase.cpp
+++ b/clang/lib/AST/DeclBase.cpp
@@ -872,7 +872,7 @@ DeclContext::collectAllContexts(llvm::SmallVectorImpl<DeclContext *> &Contexts){
}
std::pair<Decl *, Decl *>
-DeclContext::BuildDeclChain(const SmallVectorImpl<Decl*> &Decls,
+DeclContext::BuildDeclChain(ArrayRef<Decl*> Decls,
bool FieldsAlreadyLoaded) {
// Build up a chain of declarations via the Decl::NextInContextAndBits field.
Decl *FirstNewDecl = 0;
OpenPOWER on IntegriCloud