Changes between Version 30 and Version 31 of CodeStyle


Ignore:
Timestamp:
04/21/22 18:13:30 (2 years ago)
Author:
flichtenheld
Comment:

Update uncrustify.conf and reference the location in the repo in the example

Legend:

Unmodified
Added
Removed
Modified
  • CodeStyle

    v30 v31  
    129129
    130130{{{
    131 uncrustify -c config tun.c
     131uncrustify -c dev-tools/uncrustify.conf tun.c
    132132}}}
    133133
     
    139139indent_else_if=false
    140140indent_switch_case=4
    141 indent_label=1nl_if_brace=add
     141indent_label=1
     142nl_if_brace=add
    142143nl_brace_else=add
    143144nl_elseif_brace=add
    144145nl_else_brace=add
    145146nl_else_if=remove
     147nl_for_brace=add
     148nl_while_brace=add
     149nl_switch_brace=add
     150nl_fdef_brace=add
     151nl_do_brace=add
    146152sp_func_proto_paren=Remove
    147153sp_func_def_paren=Remove
     
    153159align_with_tabs=false
    154160cmt_convert_tab_to_spaces=true
    155 
    156 # 80 character line width
    157 code_width=80
    158 ls_code_width=false
    159161
    160162# Do not put spaces between the # and preprocessor statements
     
    183185mod_full_brace_if=add
    184186mod_full_brace_if_chain=false
     187mod_full_brace_while=add
     188mod_full_brace_for=add
     189mod_full_brace_do=add
    185190
    186191# Annotate #else and #endif statements
     
    190195# Misc cleanup
    191196mod_remove_extra_semicolon=true
     197
     198# leave blank at end of empty for() statements
     199sp_after_semi_for_empty=Add
    192200
    193201# Use C-style comments (/* .. */)