30-08-2006, 07:56 AM
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.
<t>This post is made in a personal capacity<br/>
Member of MISRA-C-WG since 2002</t>
Member of MISRA-C-WG since 2002</t>