Code Formatter / Beautifyer for 14.8 and 14.9 ?

6.14 Control Flow

Moderators: misra-c, david ward

Locked
bmerkle
Posts: 9
Joined: Mon Nov 15, 2004 6:44 am

Code Formatter / Beautifyer for 14.8 and 14.9 ?

Post by bmerkle » Wed May 04, 2005 12:45 pm

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.

Gavin McCall
Posts: 72
Joined: Mon Sep 13, 2004 9:24 am

Post by Gavin McCall » Thu Nov 03, 2005 2:32 pm

MISRA-C Steering Team - 2/11/2005

MISRA do not recommend or promote any tools.

Others are free to answer your question.
Gavin McCall
Personal view only.

misra-c
Posts: 566
Joined: Thu Jan 05, 2006 1:11 pm

Post by misra-c » Tue Aug 29, 2006 4:47 pm

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.
---
Posted by and on behalf of
the MISRA C Working Group

phaedsys
Posts: 50
Joined: Fri Sep 17, 2004 10:53 pm
Company: Phaedrus Systems
Location: Phaedrus Systems Tamworth, UK
Contact:

Re: Code Formatter / Beautifyer for 14.8 and 14.9 ?

Post by phaedsys » Wed Aug 30, 2006 8: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.
This post is made in a personal capacity
Member of MISRA-C-WG since 2002

Locked

Return to “6.14 Control Flow”