diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-11-07 23:05:16 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-11-07 23:05:16 +0000 |
commit | 1ccc8416a02475d7c9cc692bdb7fffe6aa7a6a37 (patch) | |
tree | 94fb124fe766ec7aecc9463a661c9f2950649e82 /clang/test/SemaTemplate/variadic-class-template-1.cpp | |
parent | 1c76c59bbc056c65f2e344741a3cd61e7aead88f (diff) | |
download | bcm5719-llvm-1ccc8416a02475d7c9cc692bdb7fffe6aa7a6a37.tar.gz bcm5719-llvm-1ccc8416a02475d7c9cc692bdb7fffe6aa7a6a37.zip |
Remove broken support for variadic templates, along with the various
abstractions (e.g., TemplateArgumentListBuilder) that were designed to
support variadic templates. Only a few remnants of variadic templates
remain, in the parser (parsing template type parameter packs), AST
(template type parameter pack bits and TemplateArgument::Pack), and
Sema; these are expected to be used in a future implementation of
variadic templates.
But don't get too excited about that happening now.
llvm-svn: 118385
Diffstat (limited to 'clang/test/SemaTemplate/variadic-class-template-1.cpp')
-rw-r--r-- | clang/test/SemaTemplate/variadic-class-template-1.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/test/SemaTemplate/variadic-class-template-1.cpp b/clang/test/SemaTemplate/variadic-class-template-1.cpp deleted file mode 100644 index 6da64fb55f7..00000000000 --- a/clang/test/SemaTemplate/variadic-class-template-1.cpp +++ /dev/null @@ -1,4 +0,0 @@ -// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x - -template<typename ... Args = int> struct S1 { }; // expected-error{{template parameter pack cannot have a default argument}} -template<typename ... Args, typename T> struct S2 { }; // expected-error{{template parameter pack must be the last template parameter}} |