uncrustify - clean up source code

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

uncrustify - clean up source code

#1 Post by technosaurus »

A source code beautifier For C, C++, C#, D, and Java.
http://uncrustify.sourceforge.net/

I stumbled across this in t2's packages and tracked down the latest release, so I could A) make my code more readable to others and B) make others' code more readable to me. It is useful for making patches that are compliant with a projects coding standards.

I had to add the following in uncrustify.cpp to get it to compile statically against uclibc and uclibc++:
#include <fstream> /* contains read, open and close */
Attachments
uncrustify-0.56.pet
(167.66 KiB) Downloaded 304 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply