aboutsummaryrefslogtreecommitdiff
path: root/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
commit341785ec52f87c0803ba52dc88faac4e136f8593 (patch)
tree13cc507edbe5dc89aaf25f57fd1ed55246ff7741 /lib/AST/DeclBase.cpp
parent4fe5be028b723fedc28bb33be96cde1ab2574ee6 (diff)
More ArrayRef-ification of methods.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclBase.cpp')
-rw-r--r--lib/AST/DeclBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp
index efbc5f9923..dbb0b6bfa4 100644
--- a/lib/AST/DeclBase.cpp
+++ b/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;