summaryrefslogtreecommitdiffstats
path: root/clang/include
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-08-27 06:28:16 +0000
committerCraig Topper <craig.topper@gmail.com>2014-08-27 06:28:16 +0000
commit3cb91b2ad1d704eaf97f91bcc49cfd500d545d1c (patch)
tree7368b77b7ae221c756ee9fdf05d3f2a1ebb05725 /clang/include
parent9fee0b7c0b3a1a72d68e23f120c5b72c0900ea43 (diff)
downloadbcm5719-llvm-3cb91b2ad1d704eaf97f91bcc49cfd500d545d1c.tar.gz
bcm5719-llvm-3cb91b2ad1d704eaf97f91bcc49cfd500d545d1c.zip
Fix some cases were ArrayRefs were being passed by reference.
llvm-svn: 216527
Diffstat (limited to 'clang/include')
-rw-r--r--clang/include/clang/AST/Decl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/AST/Decl.h b/clang/include/clang/AST/Decl.h
index 083183525c6..6b5dea1287e 100644
--- a/clang/include/clang/AST/Decl.h
+++ b/clang/include/clang/AST/Decl.h
@@ -1881,7 +1881,7 @@ public:
return llvm::makeArrayRef(ParamInfo, getNumParams());
}
- const ArrayRef<NamedDecl *> &getDeclsInPrototypeScope() const {
+ ArrayRef<NamedDecl *> getDeclsInPrototypeScope() const {
return DeclsInPrototypeScope;
}
void setDeclsInPrototypeScope(ArrayRef<NamedDecl *> NewDecls);
OpenPOWER on IntegriCloud