Correctly handle packs for variadic type traits.
authorEli Friedman <eli.friedman@gmail.com>
Fri, 19 Jul 2013 21:49:32 +0000 (21:49 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 19 Jul 2013 21:49:32 +0000 (21:49 +0000)
commit5e05c4afe48945b438d98a0efe9c6d6286b1bb9b
treee8c9668234f69998e2bc7cdd883172ae7dab2690
parent8b8a7b551417fae6b3a0d861d068f6dd9af28f63
Correctly handle packs for variadic type traits.

I'm not sure how to write a test for this; the following shows the
difference in -ast-dump:

template <int x> struct A {};
template <class T> struct B { };
template <class ...Args> using C = A<(__is_trivially_constructible(Args...))>;
template <class ...Args> using D = C<B<Args>...>;

However, I can't seem to write a test that triggers a visible difference
in behavior.

llvm-svn: 186726
clang/lib/Sema/TreeTransform.h