Skip to content

Commit ad47b41

Browse files
committed
CodingStyle: Fix coding-style on PG related Monitor files
Using uncrustify the coding style of the files has been changed to match what has been described in the CodingStyle document. This process was fully automated using uncrustify and with the configuration file in the 'share' directory this can be applied to other files when needed.
1 parent 9162bd2 commit ad47b41

File tree

3 files changed

+373
-311
lines changed

3 files changed

+373
-311
lines changed

share/uncrustify.cfg

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
indent_columns=2
2+
indent_align_string=true
3+
indent_braces=false
4+
indent_braces_no_func=false
5+
indent_brace_parent=false
6+
indent_namespace=false
7+
indent_extern=false
8+
indent_class=true
9+
indent_class_colon=true
10+
indent_else_if=false
11+
indent_func_call_param=false
12+
indent_func_def_param=false
13+
indent_func_proto_param=false
14+
indent_func_class_param=false
15+
indent_func_ctor_var_param=false
16+
indent_template_param=false
17+
indent_func_param_double=false
18+
indent_relative_single_line_comments=false
19+
indent_col1_comment=true
20+
indent_access_spec_body=false
21+
indent_paren_nl=false
22+
indent_comma_paren=false
23+
indent_bool_paren=false
24+
indent_square_nl=false
25+
indent_preserve_sql=false
26+
indent_align_assign=true
27+
28+
nl_max=3
29+
nl_after_vbrace_close=true
30+
nl_after_brace_close=true
31+
nl_after_return=true
32+
nl_before_return=true
33+
nl_brace_else=remove
34+
nl_if_brace=remove
35+
nl_catch_brace=remove
36+
nl_brace_catch=remove
37+
nl_while_brace=remove
38+
nl_finally_brace=remove
39+
40+
sp_else_brace=add
41+
sp_brace_else=add
42+
sp_try_brace=add
43+
sp_catch_brace=add
44+
sp_brace_catch=add

0 commit comments

Comments
 (0)