Hi there,
is there any Code Formatter / Beautifyer that reformats C code according to the MISRA rules, e.g. MISRA2 Rule 14.9 or Rule 14.8 or MISRA1 Rule59 ?
I know of artistic style (on sf) but unfortunately it has not the rule
kind regards,
Bernhard.
MISRA-C Steering Team - 2/11/2005
MISRA do not recommend or promote any tools.
Others are free to answer your question.
Quote:MISRA-C Steering Team - 2/11/2005
MISRA do not recommend or promote any tools.
Others are free to answer your question.
Re-posted under official user name only.
bmerkle Wrote:Hi there,
is there any Code Formatter / Beautifyer that reformats C code according to the MISRA rules, e.g. MISRA2 Rule 14.9 or Rule 14.8 or MISRA1 Rule59 ?
I know of artistic style (on sf) but unfortunately it has not the rule
kind regards,
Bernhard.
You are confusing a code formatter with a static analysis tool.
MISRA-C makes little or no comment on the layout and style of the code.
There are many tools that do MISRA-C checking but none AFAIK that wil automatically correct any posible rule transgressions.