This is an archive of the discontinued LLVM Phabricator instance.

[clang-doc] Avoid parsing undefined base classes
ClosedPublic

Authored by juliehockett on Sep 20 2018, 9:59 AM.

Details

Summary

Don't try to parse base classes for declarations that are not definitions (segfaults, as there is no DefinitionData to access).

Diff Detail

Repository
rL LLVM

Event Timeline

juliehockett created this revision.Sep 20 2018, 9:59 AM
lebedev.ri accepted this revision.Sep 20 2018, 12:20 PM

If it no longer crashes, i guess you can test for that?

Other than that, SG.

This revision is now accepted and ready to land.Sep 20 2018, 12:20 PM

Adding test case

This revision was automatically updated to reflect the committed changes.