]> granicus.if.org Git - clang/commit
When we're substituting into a function parameter pack and expect to
authorDouglas Gregor <dgregor@apple.com>
Wed, 25 Jan 2012 16:15:54 +0000 (16:15 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 25 Jan 2012 16:15:54 +0000 (16:15 +0000)
commitd1bb4ae6cbc0f8bea4b329e040f58b18c03388e7
tree4b5401079eb9b16020754d989cf766bc2f3407de
parent00646ba867d63beeeb7124984795182cd5cc8b67
When we're substituting into a function parameter pack and expect to
get a function parameter pack (but don't due to weird substitutions),
complain. Fixes the last bit of PR11848.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148960 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaTemplateInstantiate.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Sema/TreeTransform.h
test/SemaTemplate/alias-templates.cpp