This is an archive of the discontinued LLVM Phabricator instance.

[Sema] Fix a crash by completing a type before using it
ClosedPublic

Authored by erik.pilkington on Jul 26 2018, 11:15 AM.

Diff Detail

Repository
rC Clang

Event Timeline

Could you include a test that satisfies the exception but requires a template to be instantiated to check that? It's probably already tested elsewhere, but still.

Add the testcase @rjmccall requested.

rjmccall accepted this revision.Jul 26 2018, 3:55 PM

Thanks, LGTM.

This revision is now accepted and ready to land.Jul 26 2018, 3:55 PM
This revision was automatically updated to reflect the committed changes.