-
bengardner pushed 1 commit(s) to refs/heads/master in the uncrustify Git repository of the Uncrustify Code Beautifier project.
2010-01-06 03:16:39 UTC by bengardner
-
bengardner pushed 4 commit(s) to refs/heads/master in the uncrustify Git repository of the Uncrustify Code Beautifier project.
2009-12-31 19:37:41 UTC by bengardner
-
I applied the config text changes and the indent_first_bool_expr option.
I applied with modifications the lead/trail stuff.
The lead modes are now "lead", "lead_break", and "lead_force".
"lead_break" will add a newline to break a line.
"lead_force" will do that and remove any extra newline.
2009-12-31 19:37:16 UTC by bengardner
-
The f() one is (incorrectly) labeled as CT_ADDR.
The g() one is (correctly) labeled as CT_BYREF.
The reason is that f() is detected as a function call.
I made a little change to make it detect as a function prototype.
Hopefully that didn't break anything.
Commit a9df57a0d1d2849d01121e04ecd7ffa104ebaac7.
2009-12-30 22:52:40 UTC by bengardner
-
bengardner pushed 2 commit(s) to refs/heads/master in the uncrustify Git repository of the Uncrustify Code Beautifier project.
2009-12-30 22:52:08 UTC by bengardner
-
Well, after some changing of settings (and remove a bad setting), this is working again, so chalk this up to operator error.
2009-12-30 22:38:31 UTC by woolie
-
I think I need a more complete source file and the config you are using.
With just that fragment (saved as "test.m") and the single option, it works for me.
I tried 'remove', 'add', and 'force'.
Did you do a rebuild (make clean && make) after pulling the new code from git?
I think we are either dealing with an incomplete compile or something further up in the source file is causing the...
2009-12-30 22:11:38 UTC by bengardner
-
I did the configure step and it builds fine under Xcode 3.2 in snow leopard. Suggest close.
2009-12-30 21:44:01 UTC by woolie
-
As of the to of tree source at 2009/12/30 1:40 PM. I tried both force and remove and it is adding a space before the : of the : right after a case statement (as in):
switch( foo )
{
case kBar:
}
turns into:
case kBar:
NB: added for emphasis.
2009-12-30 21:42:36 UTC by woolie
-
bengardner pushed 1 commit(s) to refs/heads/master in the uncrustify Git repository of the Uncrustify Code Beautifier project.
2009-12-30 20:17:06 UTC by bengardner