diff options
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 1c03f7d7f7..28ae8d23c7 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -4986,12 +4986,6 @@ Decl *Sema::ActOnParamDeclarator(Scope *S, Declarator &D) { << D.getCXXScopeSpec().getRange(); D.getCXXScopeSpec().clear(); } - - // FIXME: Variadic templates. - if (D.hasEllipsis()) { - Diag(D.getEllipsisLoc(), diag::err_function_parameter_pack_unsupported); - D.setInvalidType(); - } } // Ensure we have a valid name |