m42e/uncrustify — pull request #1 by m42e (2014-04-14 13:17:07+00:00)
Title: Main updates: management of AUTOSAR compiler abstraction macros

- Update of the management of TYPE_WRAP to be able to use multiple parameters macro that wrap a type
=> creation of flag PCF_TYPE_WRAP to tag these macros
- New FUNC_PTR_WRAP added to be able to wrap a function pointer type with a macro
=> creation of flag PCF_FUNC_PTR_WRAP to tag these macros
- A new test added to check the alignment of all kind of definitions/declarations (typedef, type (wrapped or not), function pointers (wrapped or not), function, data).
This test allows to check the coherency of all the kind of definitions/declarations.

Additional updates:
- Correction of "align_func_param" that was searching for comma at any level to detect if each parameter was on a single line.
Now, search for comma at the same level as the parameters.
=> update of the output file for tests 02000 and 02002
- Correction of "mark_function_type" to be able to process the parameters of a function type that is not "typedefed" like it is done for "typedefed" ones
- Update of "mark_variable_stack" to support declaration of functions that have parameters but not named
- Update of some options to have a better understanding of what they do or on what they have an impact
- For "TYPE_WRAP", "sp_cpp_cast_paren" is no more applied and replaced by "sp_func_call_paren/sp_func_call_paren_empty"
- "sp_after_type" is now also applied to "typedef" to have a coherent management of spaces for the whole definition of types with typedef