Skip to content

Instantly share code, notes, and snippets.

@heatd
Created November 16, 2021 22:54
Show Gist options
  • Save heatd/5bb048a188726cb8bc9f5b4a844b0ec2 to your computer and use it in GitHub Desktop.
Save heatd/5bb048a188726cb8bc9f5b4a844b0ec2 to your computer and use it in GitHub Desktop.
--- ../Downloads/edk2-orig.cfg 2021-11-16 22:50:09.913367101 +0000
+++ ../Downloads/edk2.cfg 2021-11-16 22:47:21.906699771 +0000
@@ -1,9 +1,13 @@
+#
+# uncrustify config file for edk2
+#
+
align_assign_span=1
align_assign_thresh=4
align_enum_equ_span=1
-align_func_params=false
-align_func_params_gap=0
-align_func_params_span=0
+align_func_params=true
+align_func_params_gap=2
+align_func_params_span=2
align_func_params_thresh=0
align_func_proto_span=0
align_keep_tabs=false
@@ -51,8 +55,8 @@
cmt_cpp_to_c=false
cmt_indent_multi=false
cmt_insert_before_preproc=false
-cmt_insert_file_header=.templates/default_file_header.txt
-cmt_insert_func_header=.templates/default_function_header.txt
+cmt_insert_file_header=default_file_header.txt
+cmt_insert_func_header=default_function_header.txt
cmt_multi_check_last=false
cmt_multi_first_len_minimum=2
cmt_reflow_mode=1
@@ -233,6 +237,7 @@
sp_after_ptr_star_func=remove
sp_after_semi=remove
sp_after_sparen=add
+sp_before_sparen=add
sp_after_type=add
sp_assign=add
sp_assign_default=add
@@ -305,3 +310,7 @@
use_indent_func_call_param=true
utf8_byte=false
utf8_force=true
+
+set QUALIFIER EFIAPI
+set QUALIFIER IN
+set QUALIFIER OUT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment