~cviethen/hipl/pisa-pairing-tng

Viewing all changes in revision 6118.

  • Committer: Miika Komu
  • Date: 2011-11-09 06:16:43 UTC
  • Revision ID: miika@iki.fi-20111109061643-s09npywr01e8ql7r
Relaxed uncrustify rules to allow #endif after a function body

The uncrustify configuration now allows #endif after closing of the 
function body as follows:

#ifdef SOMETHING
int foo(void) {
}
#endif /* SOMETHING */

As a side effect, I believe this now allows the following violation 
(which should be prohibited via manual inspection):

int foo(void) {
}
int bar(void) {
}

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: