We are integrating updated code that fixes minor misra and other coding standard issues, such as this (side by side comparison):
where a u is added to keep whatever checker happy. I tried ignoring something like [0123456789]+u, but that ignores the number portion as well as the u, which I don't want. I just want a line such as above to not be flagged, but say, comparing 24u to 23 does flag. (These are long lists of auto-generated code, so flagging such a change mechanically is useful.) "symbol" will change in long lists of #defines, so it aligns according to that, which I also want, not the number.
Similar issues with u vs. UL, as well as hex numbers with u or UL added (I assume just add 0x and abcdef to the number part.)
Code:
#define symbol 23u #define symbol 23
Similar issues with u vs. UL, as well as hex numbers with u or UL added (I assume just add 0x and abcdef to the number part.)
Comment