This is an archive of the discontinued LLVM Phabricator instance.

[clang] Fix an assertion crash in delayed access check.
ClosedPublic

Authored by hokein on Nov 12 2020, 12:38 PM.

Details

Summary

TD-getTemplatedDecl() might not be a DeclContext variant, which can
trigger an assertion inside isa<>.

Diff Detail

Event Timeline

hokein created this revision.Nov 12 2020, 12:38 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 12 2020, 12:38 PM
hokein requested review of this revision.Nov 12 2020, 12:38 PM
adamcz accepted this revision.Nov 13 2020, 3:31 AM
This revision is now accepted and ready to land.Nov 13 2020, 3:31 AM
This revision was landed with ongoing or failed builds.Nov 13 2020, 5:03 AM
This revision was automatically updated to reflect the committed changes.