Skip to content

Commit

Permalink
Add support for uncrustify in sys/indent.sh (still not perfect)
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Feb 10, 2017
1 parent 0a8dc8a commit 219f0e6
Show file tree
Hide file tree
Showing 3 changed files with 177 additions and 158 deletions.
16 changes: 7 additions & 9 deletions doc/uncrustify.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ align_asm_colon = false
align_oc_msg_colon_span = 0
align_oc_msg_colon_first = false
align_oc_decl_colon = false
nl_collapse_empty_body = false
nl_collapse_empty_body = true
nl_assign_leave_one_liners = false
nl_class_leave_one_liners = false
nl_enum_leave_one_liners = false
Expand Down Expand Up @@ -349,10 +349,10 @@ nl_fcall_brace = ignore
nl_enum_brace = ignore
nl_struct_brace = ignore
nl_union_brace = ignore
nl_brace_else = ignore
nl_elseif_brace = ignore
nl_else_brace = ignore
nl_else_if = ignore
nl_brace_else = Remove
nl_elseif_brace = Remove
nl_else_brace = Remove
nl_else_if = Remove
nl_brace_finally = ignore
nl_finally_brace = ignore
nl_try_brace = ignore
Expand All @@ -368,7 +368,7 @@ nl_unittest_brace = ignore
nl_version_brace = ignore
nl_using_brace = ignore
nl_brace_brace = ignore
nl_do_brace = ignore
nl_do_brace = Remove
nl_brace_while = ignore
nl_switch_brace = ignore
nl_synchronized_brace = ignore
Expand Down Expand Up @@ -415,7 +415,7 @@ nl_func_call_end_multi_line = false
nl_oc_msg_args = false
nl_fdef_brace = ignore
nl_cpp_ldef_brace = ignore
nl_return_expr = ignore
nl_return_expr = Ignore
nl_after_semicolon = false
nl_paren_dbrace_open = ignore
nl_after_brace_open = true
Expand Down Expand Up @@ -568,5 +568,3 @@ use_indent_func_call_param = true
use_indent_continue_only_once = false
use_options_overriding_for_qt_macros = true
warn_level_tabs_found_in_verbatim_string_literals = 2
# option(s) with 'not default' value: 0
#
Loading

0 comments on commit 219f0e6

Please sign in to comment.