Re: [PATCH] D20511: Fix crash while parsing variable template with variadic template arguments

2016-05-26 Thread Olivier Goffart via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL270845: Fix crash while parsing variable template with variadic template arguments (authored by ogoffart). Changed prior to commit: http://reviews.llvm.org/D20511?vs=58043=58595#toc Repository: rL

[PATCH] D20511: Fix crash while parsing variable template with variadic template arguments

2016-05-21 Thread Olivier Goffart via cfe-commits
ogoffart created this revision. ogoffart added reviewers: cfe-commits, rsmith. 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)