]> granicus.if.org Git - clang/commit
[Sema] Fix a bug where pack expansion was not expanded in type alias
authorErik Pilkington <erik.pilkington@gmail.com>
Tue, 5 Jul 2016 17:57:24 +0000 (17:57 +0000)
committerErik Pilkington <erik.pilkington@gmail.com>
Tue, 5 Jul 2016 17:57:24 +0000 (17:57 +0000)
commit9f88348b3e5a8bf7292841a52a79d68f37ffe6c1
tree935474faa85110bef8065a367d897a50e9e99df4
parent78226445e4ee9e7257f3cc009e7f413bf8a6fa55
[Sema] Fix a bug where pack expansion was not expanded in type alias

The problem is that the parameter pack in a function type type alias is not
reexpanded after being transformed. Also remove an incorrect comment in a
similar function. Fixes PR26017.

Differential Revision: http://reviews.llvm.org/D21030

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274566 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/TreeTransform.h
test/CXX/temp/temp.decls/temp.variadic/p5.cpp