This is an archive of the discontinued LLVM Phabricator instance.

Fix crash while parsing variable template with variadic template arguments
ClosedPublic

Authored by ogoffart on May 21 2016, 10:58 AM.

Details

Summary

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)

Diff Detail

Repository
rL LLVM

Event Timeline

ogoffart updated this revision to Diff 58043.May 21 2016, 10:58 AM
ogoffart retitled this revision from to Fix crash while parsing variable template with variadic template arguments.
ogoffart updated this object.
ogoffart added reviewers: cfe-commits, rsmith.

I believe this is trivial so i will just commit it.

This revision was automatically updated to reflect the committed changes.