bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: indent enhancement request remove unneeded brackets


From: Ben Gardner
Subject: Re: indent enhancement request remove unneeded brackets
Date: Tue, 26 May 2009 09:31:44 -0500

On Fri, May 22, 2009 at 11:48 AM, w langdon
<address@hidden> wrote:
> I do not know how easy it would be to do this, but one of our users
> has requested that indent be able to remove unnecessary "{" "}".
>
> Some automatically generated C (produced by CIL) has many
> extra brackets, which serve only to clutter the source code
> and it would be nice if gnu indent could remove them from its
> pretty print.

Hi Bill,

Uncrustify can remove unnecessary braces. It can also add them.
http://uncrustify.sourceforge.net/

Ben




reply via email to

[Prev in Thread] Current Thread [Next in Thread]