HomePhabricator

Fix crash while parsing variable template with variadic template arguments

Authored by ogoffart on May 26 2016, 5:55 AM.

Description

Fix crash while parsing variable template with variadic template arguments

It is only a crash if the compiler optimize for this!=nullptr because
LocalInstantiationScope::getPartiallySubstitutedPack checks if 'this' is null
(This is crashing when clang is compiled with GCC6)

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

llvm-svn: 270845

Details