V3515. AUTOSAR. All integer constants of unsigned type should have 'U' suffix.
This diagnostic rule is based on the software development guidelines developed by AUTOSAR (AUTomotive Open System ARchitecture).
The analyzer has detected an unsigned integer literal without a 'U'. Such literals obscure the code as their type is ambiguous. Besides, the same literals can be of different types in various data models.
Using suffixes to explicitly specify the type helps to avoid ambiguity when reading numeric literals.
Here is an example of code triggering the warning (provided that the literal is of unsigned type on the platform under analysis):
auto typemask = 0xffffffffL;
This diagnostic is classified as:
|