diff options
| author | David Blaikie <dblaikie@gmail.com> | 2011-09-21 18:16:56 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2011-09-21 18:16:56 +0000 |
| commit | 9c70e04becf660d6fdd076b5da1c5433d2eb422c (patch) | |
| tree | 5e069f175e36e152c14ec2e803c3448e2f89f349 /clang/lib/Sema/SemaExpr.cpp | |
| parent | bcc3fadad9712c9cabb51cfa0cb357077b689876 (diff) | |
| download | bcm5719-llvm-9c70e04becf660d6fdd076b5da1c5433d2eb422c.tar.gz bcm5719-llvm-9c70e04becf660d6fdd076b5da1c5433d2eb422c.zip | |
ArrayRef-ifying Function/BlockDecl's setParams
llvm-svn: 140268
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index cafed191f15..1d23f4f3b2a 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -8710,7 +8710,7 @@ void Sema::ActOnBlockArguments(Declarator &ParamInfo, Scope *CurScope) { // Set the parameters on the block decl. if (!Params.empty()) { - CurBlock->TheDecl->setParams(Params.data(), Params.size()); + CurBlock->TheDecl->setParams(Params); CheckParmsForFunctionDef(CurBlock->TheDecl->param_begin(), CurBlock->TheDecl->param_end(), /*CheckParameterNames=*/false); |

