-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
MISRA 10.3 improvements #7349
base: main
Are you sure you want to change the base?
MISRA 10.3 improvements #7349
Conversation
e507509
to
25afaed
Compare
@danmar actually handling this cppcheck/addons/test/misra/misra-test.c Lines 880 to 883 in 75ec331
in case of the Cast we look at the actual cast type and chek if the valueType token is str="char" and doesn't have the signed and unsinged flags. |
Updated the check for misra 10.3 based on the misra examples https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite
also added the examples as tests