]> git.notmuchmail.org Git - notmuch/commitdiff
uncrustify.cfg: label indent, some known types, not, # and ##
authorTomi Ollila <tomi.ollila@iki.fi>
Tue, 24 Jan 2012 20:55:59 +0000 (22:55 +0200)
committerDavid Bremner <bremner@debian.org>
Wed, 25 Jan 2012 11:40:50 +0000 (07:40 -0400)
Adjusted some uncrustify variables to get closer to prevailing style:

* Label indent (for goto) relative to current indentation.
* Registered GMimeObject and mime_node_t being as types.
* Space after ! (not) operator.
* No space after 'stringify' (#) preprosessor token.
* No spacing change around ## (option not versatile enough).

There are at least 3 cases where attention needs to be paid:

* If there is newline between function name and open paren in function
  call, the paren (and args) are indented too far right.
* #define HOUR (60 *MINUTE) -- i.e. no space after star (*).
* void (*foo)(args) -- i.e no space between (name) and (args).


No differences found