Skip to content

Added rule 5.2#1212

Merged
danmar merged 3 commits into
cppcheck-opensource:masterfrom
swasti16:master
May 8, 2018
Merged

Added rule 5.2#1212
danmar merged 3 commits into
cppcheck-opensource:masterfrom
swasti16:master

Conversation

@swasti16

@swasti16 swasti16 commented May 8, 2018

Copy link
Copy Markdown
Contributor

Added Misra C rule 5.2 (Ticket 8554)

@danmar

danmar commented May 8, 2018

Copy link
Copy Markdown
Collaborator

thanks! We want to have regression tests so can you please put that in the file addons/test/misra-test.c

in the top of that file you can see how you run the tests:

~/cppcheck/cppcheck --dump misra-test.c && python ../misra.py -verify misra-test.c.dump

@danmar danmar merged commit d934065 into cppcheck-opensource:master May 8, 2018
@danmar

danmar commented May 8, 2018

Copy link
Copy Markdown
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants