I can't do bytes since the char width is not guaranteed to be a multiple of 8 bits. The message now looks like:
warning: slicing object from type 'DerivedWithMemberVariables' to 'Base' discards 32 bits of state [cppcoreguidelines-slicing]
This fixes https://llvm.org/bugs/show_bug.cgi?id=28675
Please don't use auto here, as the type is not spelled out in the initialization.