Improve documentation of absence-of-padding check

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Hanno Becker 2018-10-19 17:32:45 +01:00 committed by Dave Rodgman
parent 0d7dd3cd43
commit baae59cd49

View file

@ -375,6 +375,9 @@ int main( int argc, char *argv[] )
* of that unpadded type. For example, for a 4-byte int,
* MAX_INT should be 0x7fffffff in int32_t. This assumes that
* CHAR_BIT == 8, which is checked in check_config.h.
*
* We assume that [u]intxx_t exist and that they don't
* have padding bits, as the standard requires.
*/
#define CHECK_PADDING_SIGNED(TYPE, NAME) \