Page MenuHomeFreeBSD

ctfconvert: Handle arrays of empty structs
ClosedPublic

Authored by markj on Dec 30 2021, 3:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 30, 10:31 PM
Unknown Object (File)
Sat, Nov 16, 7:10 PM
Unknown Object (File)
Wed, Nov 13, 5:52 PM
Unknown Object (File)
Mon, Nov 11, 8:38 PM
Unknown Object (File)
Oct 28 2024, 10:45 PM
Unknown Object (File)
Oct 9 2024, 7:25 AM
Unknown Object (File)
Oct 1 2024, 1:19 PM
Unknown Object (File)
Sep 22 2024, 10:32 PM
Subscribers

Details

Summary

Members with such a type will legitimately have a size of zero, so don't
emit a warning.

PR: 260818

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Dec 30 2021, 3:12 PM
bz added a subscriber: bz.

Sounds good to me; maybe the comment above that block could be enhanced as well but I think it's almost immediately obvious from the code.

This revision is now accepted and ready to land.Dec 30 2021, 5:16 PM
This revision was automatically updated to reflect the committed changes.