summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-07-05 19:34:19 +0000
committerCraig Topper <craig.topper@gmail.com>2013-07-05 19:34:19 +0000
commit5603df45df0c7fb2c2fd7771c080e04bd98f6eca (patch)
treee58d4154cd07ecadafb5292ccc4bc699d9a9786c /clang/lib/Parse
parent97c1343c455d7dba9e47d1c91ce4da9a1b9bfbc1 (diff)
downloadbcm5719-llvm-5603df45df0c7fb2c2fd7771c080e04bd98f6eca.tar.gz
bcm5719-llvm-5603df45df0c7fb2c2fd7771c080e04bd98f6eca.zip
Use SmallVectorImpl& for function arguments instead of SmallVector.
llvm-svn: 185715
Diffstat (limited to 'clang/lib/Parse')
-rw-r--r--clang/lib/Parse/ParseDecl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp
index b3e2a85965c..681468ddc79 100644
--- a/clang/lib/Parse/ParseDecl.cpp
+++ b/clang/lib/Parse/ParseDecl.cpp
@@ -5118,7 +5118,7 @@ bool Parser::isFunctionDeclaratorIdentifierList() {
///
void Parser::ParseFunctionDeclaratorIdentifierList(
Declarator &D,
- SmallVector<DeclaratorChunk::ParamInfo, 16> &ParamInfo) {
+ SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo) {
// If there was no identifier specified for the declarator, either we are in
// an abstract-declarator, or we are in a parameter declarator which was found
// to be abstract. In abstract-declarators, identifier lists are not valid:
@@ -5199,7 +5199,7 @@ void Parser::ParseFunctionDeclaratorIdentifierList(
void Parser::ParseParameterDeclarationClause(
Declarator &D,
ParsedAttributes &FirstArgAttrs,
- SmallVector<DeclaratorChunk::ParamInfo, 16> &ParamInfo,
+ SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo,
SourceLocation &EllipsisLoc) {
while (1) {
OpenPOWER on IntegriCloud