Page MenuHomePhabricator

Sema: check for null TInfo in ActOnBaseSpecifier
AbandonedPublic

Authored by zarko on Apr 2 2020, 3:54 PM.

Details

Reviewers
rsmith
Summary

In certain cases (particularly when some input files are missing), GetTypeFromParser will set TInfo to nullptr in ActOnBaseSpecifier.

Diff Detail

Event Timeline

zarko created this revision.Apr 2 2020, 3:54 PM
zarko added a reviewer: rsmith.Apr 2 2020, 4:04 PM
MaskRay added a subscriber: MaskRay.Apr 2 2020, 5:02 PM

This needs a reduced test case to demonstrate the problem and ensure clang will not regress in the future.

rsmith added a comment.Apr 2 2020, 6:02 PM

I think the problem this aims to address was fixed by rG330873230071ffc2aebc0fe74db55e7a530c2f1b.

zarko abandoned this revision.Apr 6 2020, 10:49 AM

I can confirm that this has been fixed by the revision that rsmith has linked. Thanks!