summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-08-30 14:18:25 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-08-30 14:18:25 +0000
commit3642b8387d01bb621eacff15d4ed3a475fc86cf0 (patch)
tree5217abe682540f06aa903b6d780a9184a6c9f852
parent55758cce818b3b319f8754171576f6aff6b0decd (diff)
ecrustify now forces braces for many cases that it did not previously thanks to stefan's same line brace debacle
SVN revision: 75882
-rw-r--r--ecrustify-headers.cfg6
-rw-r--r--ecrustify.cfg6
2 files changed, 12 insertions, 0 deletions
diff --git a/ecrustify-headers.cfg b/ecrustify-headers.cfg
index 857cf71..d877645 100644
--- a/ecrustify-headers.cfg
+++ b/ecrustify-headers.cfg
@@ -100,9 +100,12 @@ nl_create_for_one_liner=false
100nl_create_if_one_liner=false 100nl_create_if_one_liner=false
101nl_create_while_one_liner=false 101nl_create_while_one_liner=false
102nl_define_macro=false 102nl_define_macro=false
103nl_do_brace=force
103nl_ds_struct_enum_close_brace=false 104nl_ds_struct_enum_close_brace=false
104nl_ds_struct_enum_cmt=false 105nl_ds_struct_enum_cmt=false
106nl_else_brace=force
105nl_elseif_brace=force 107nl_elseif_brace=force
108nl_enum_brace=true
106nl_enum_leave_one_liners=true 109nl_enum_leave_one_liners=true
107nl_func_decl_args=ignore 110nl_func_decl_args=ignore
108nl_func_decl_end=remove 111nl_func_decl_end=remove
@@ -115,6 +118,9 @@ nl_multi_line_cond=false
115nl_multi_line_define=false 118nl_multi_line_define=false
116nl_squeeze_ifdef=false 119nl_squeeze_ifdef=false
117nl_struct_brace=force 120nl_struct_brace=force
121nl_switch_brace=force
122nl_union_brace=force
123nl_while_brace=force
118output_tab_size=2 124output_tab_size=2
119pp_define_at_level=false 125pp_define_at_level=false
120pp_if_indent_code=false 126pp_if_indent_code=false
diff --git a/ecrustify.cfg b/ecrustify.cfg
index 3e5ea6d..31a2681 100644
--- a/ecrustify.cfg
+++ b/ecrustify.cfg
@@ -101,9 +101,12 @@ nl_create_for_one_liner=false
101nl_create_if_one_liner=false 101nl_create_if_one_liner=false
102nl_create_while_one_liner=false 102nl_create_while_one_liner=false
103nl_define_macro=false 103nl_define_macro=false
104nl_do_brace=force
104nl_ds_struct_enum_close_brace=false 105nl_ds_struct_enum_close_brace=false
105nl_ds_struct_enum_cmt=false 106nl_ds_struct_enum_cmt=false
107nl_else_brace=force
106nl_elseif_brace=force 108nl_elseif_brace=force
109nl_enum_brace=true
107nl_enum_leave_one_liners=true 110nl_enum_leave_one_liners=true
108nl_func_decl_end=remove 111nl_func_decl_end=remove
109nl_func_decl_args=ignore 112nl_func_decl_args=ignore
@@ -117,6 +120,9 @@ nl_multi_line_cond=false
117nl_multi_line_define=false 120nl_multi_line_define=false
118nl_squeeze_ifdef=false 121nl_squeeze_ifdef=false
119nl_struct_brace=force 122nl_struct_brace=force
123nl_switch_brace=force
124nl_union_brace=force
125nl_while_brace=force
120output_tab_size=2 126output_tab_size=2
121pp_define_at_level=false 127pp_define_at_level=false
122pp_if_indent_code=false 128pp_if_indent_code=false