diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-12-24 23:58:25 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-12-24 23:58:25 +0000 |
commit | 96225a52988bad555bcb1a6c55c2906be9e87284 (patch) | |
tree | ad10af18f13cb5bbd876e1b579fcb7e05ed4a629 /clang/lib/Sema/SemaTemplate.cpp | |
parent | 6550a4b17e718b1b5f25626154bae1e4eafa91ad (diff) | |
download | bcm5719-llvm-96225a52988bad555bcb1a6c55c2906be9e87284.tar.gz bcm5719-llvm-96225a52988bad555bcb1a6c55c2906be9e87284.zip |
[Sema] ArrayRef-ize ActOnTemplateParameterList. NFC
llvm-svn: 256400
Diffstat (limited to 'clang/lib/Sema/SemaTemplate.cpp')
-rw-r--r-- | clang/lib/Sema/SemaTemplate.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaTemplate.cpp b/clang/lib/Sema/SemaTemplate.cpp index 9ef927f1c1c..4f2d6c3497f 100644 --- a/clang/lib/Sema/SemaTemplate.cpp +++ b/clang/lib/Sema/SemaTemplate.cpp @@ -814,14 +814,14 @@ Sema::ActOnTemplateParameterList(unsigned Depth, SourceLocation ExportLoc, SourceLocation TemplateLoc, SourceLocation LAngleLoc, - Decl **Params, unsigned NumParams, + ArrayRef<Decl *> Params, SourceLocation RAngleLoc) { if (ExportLoc.isValid()) Diag(ExportLoc, diag::warn_template_export_unsupported); return TemplateParameterList::Create(Context, TemplateLoc, LAngleLoc, - (NamedDecl**)Params, NumParams, - RAngleLoc); + (NamedDecl**)Params.data(), + Params.size(), RAngleLoc); } static void SetNestedNameSpecifier(TagDecl *T, const CXXScopeSpec &SS) { |