This is an archive of the discontinued LLVM Phabricator instance.

[clang] Ensure that comment classes are trivially destructible
ClosedPublic

Authored by riccibruno on Aug 25 2019, 12:00 PM.

Diff Detail

Repository
rC Clang

Event Timeline

riccibruno created this revision.Aug 25 2019, 12:00 PM
Mordante added a subscriber: gribozavr.

Please also add a test for the DeclInfo struct. It isn't a CommentNode but also allocated with the BumpPtrAllocator.
I also like @gribozavr's input.

gribozavr accepted this revision.Aug 25 2019, 1:37 PM

Regarding adding a test for DeclInfo -- SGTM as well.

This revision is now accepted and ready to land.Aug 25 2019, 1:37 PM

Also test that DeclInfo is trivially destructible.

Thanks !

This revision was automatically updated to reflect the committed changes.