Re: indent enhancement request remove unneeded brackets
Ben Gardner <[email protected]> Tue, 26 May 2009 09:31:44 -0500
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Fri, May 22, 2009 at 11:48 AM, w langdon <[email protected]> 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