Check that size_t and ptrdiff_t don't have padding
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
4ab3850605
commit
0d7dd3cd43
1 changed files with 6 additions and 4 deletions
|
@ -407,15 +407,17 @@ int main( int argc, char *argv[] )
|
|||
} \
|
||||
} while( 0 )
|
||||
|
||||
CHECK_PADDING_SIGNED( short, SHRT );
|
||||
CHECK_PADDING_SIGNED( int, INT );
|
||||
CHECK_PADDING_SIGNED( long, LONG );
|
||||
CHECK_PADDING_SIGNED( long long, LLONG );
|
||||
CHECK_PADDING_SIGNED( short, SHRT );
|
||||
CHECK_PADDING_SIGNED( int, INT );
|
||||
CHECK_PADDING_SIGNED( long, LONG );
|
||||
CHECK_PADDING_SIGNED( long long, LLONG );
|
||||
CHECK_PADDING_SIGNED( ptrdiff_t, PTRDIFF );
|
||||
|
||||
CHECK_PADDING_UNSIGNED( unsigned short, USHRT );
|
||||
CHECK_PADDING_UNSIGNED( unsigned, UINT );
|
||||
CHECK_PADDING_UNSIGNED( unsigned long, ULONG );
|
||||
CHECK_PADDING_UNSIGNED( unsigned long long, ULLONG );
|
||||
CHECK_PADDING_UNSIGNED( size_t, SIZE );
|
||||
|
||||
#undef CHECK_PADDING_SIGNED
|
||||
#undef CHECK_PADDING_UNSIGNED
|
||||
|
|
Loading…
Reference in a new issue