]> granicus.if.org Git - clang/commit
When a pack expansion occurs in the template argument list of an alias
authorDouglas Gregor <dgregor@apple.com>
Fri, 3 Feb 2012 17:16:23 +0000 (17:16 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 3 Feb 2012 17:16:23 +0000 (17:16 +0000)
commitb70126a328f89937f46db42f9e3cba1592887c91
treed3957ff32069747c3538d9b30f6fb1d090b8bfb7
parent23a4ddf7875cff6ee70f6dee0d2a9956ae9b5473
When a pack expansion occurs in the template argument list of an alias
template without a corresponding parameter pack, don't immediately
substitute the alias template. This is under discussion in the C++
committee, and may become ill-formed, but for now we match GCC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149697 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
include/clang/Sema/Sema.h
lib/AST/ASTContext.cpp
lib/AST/Type.cpp
lib/Sema/SemaTemplate.cpp
test/CXX/temp/temp.decls/temp.variadic/fixed-expansion.cpp
test/CodeGenCXX/mangle-alias-template.cpp