HidlInstrumentor - fix w/ Wpadded
For reasons unrelated to HidlInstrumentor, -Wpadded is enabled in
libhidl_test for this class. However, due to (a bug in?) -Wpadded not
looking into protected fields, this error is only caught in certain
versions of clang or in clang tidy.
Bug: 178056347
Test: static_asserting size of this struct (it's unfortunately exported
and used by HIDL generated libs which freeze the ABI), and manually
checking offsets of these fields. This was also verified locally by
temporarily opening up visibility, such that compiling libhidl_test
checks for padding here.
Change-Id: I7e883f74b2ecba1bb5100723e114bd48245c6b7a
1 file changed