[SCM] UID Wrapper Repository - branch master updated

Andreas Schneider asn at samba.org
Tue Jan 17 10:13:13 UTC 2023


The branch, master has been updated
       via  6223b58 Add clang-format config file
       via  4681e51 Add editorconfig
      from  a9189e2 Bump version to 1.2.9

https://git.samba.org/?p=uid_wrapper.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 6223b58f5942d6d245ba696871c193e8f5c4313c
Author: Andreas Schneider <asn at samba.org>
Date:   Tue Jan 17 11:11:04 2023 +0100

    Add clang-format config file
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>

commit 4681e51bc0285b6ad77ecdf95cf6c1e6bb53a6ee
Author: Andreas Schneider <asn at samba.org>
Date:   Tue Jan 17 11:10:28 2023 +0100

    Add editorconfig
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>

-----------------------------------------------------------------------

Summary of changes:
 .clang-format | 26 ++++++++++++++++++++++++++
 .editorconfig | 23 +++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 .clang-format
 create mode 100644 .editorconfig


Changeset truncated at 500 lines:

diff --git a/.clang-format b/.clang-format
new file mode 100644
index 0000000..5385807
--- /dev/null
+++ b/.clang-format
@@ -0,0 +1,26 @@
+# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
+BasedOnStyle: LLVM
+IndentWidth: 8
+ContinuationIndentWidth: 8
+UseTab: true
+BreakBeforeBraces: Custom
+BraceWrapping:
+    AfterEnum: false
+    AfterFunction: true
+    AfterStruct: false
+    AfterUnion: false
+    AfterExternBlock: true
+    BeforeElse: false
+    BeforeWhile: false
+AllowShortIfStatementsOnASingleLine: false
+ColumnLimit: 80
+IndentCaseLabels: false
+AlignAfterOpenBracket: Align
+BinPackParameters: false
+BinPackArguments: false
+AllowAllParametersOfDeclarationOnNextLine: false
+AllowAllArgumentsOnNextLine: false
+AllowShortFunctionsOnASingleLine: Empty
+AlwaysBreakAfterReturnType: None
+AlignEscapedNewlines: Left
+SortIncludes: false
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..bbe1bd5
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,23 @@
+root = true
+
+[*]
+charset = utf-8
+max_line_length = 80
+end_of_line = lf
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.{c,h}]
+indent_style = tab
+indent_size = 8
+tab_width = 8
+
+[*.cmake]
+indent_style = space
+indent_size = 4
+tab_width = 4
+
+[CMake*]
+indent_style = space
+indent_size = 4
+tab_width = 4


-- 
UID Wrapper Repository



More information about the samba-cvs mailing list