When instantiating the arguments to an initializer, use the
authorDouglas Gregor <dgregor@apple.com>
Fri, 7 Jan 2011 19:35:17 +0000 (19:35 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 7 Jan 2011 19:35:17 +0000 (19:35 +0000)
commit91fc73e7ffb1fa1da0276518359d3bd4ed11c843
tree48ed64396d9978bd7cc4a569416ed1d1cfb5b078
parentbd5f9f708aa31920d3bd73aa10fcb5de424c657a
When instantiating the arguments to an initializer, use the
TreeTransform version of TransformExprs() rather than explicit loop,
so that we expand pack expansions properly. Test cast coming soon...

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