diff --git a/.clang-format b/.clang-format index ae02442..5693804 100644 --- a/.clang-format +++ b/.clang-format @@ -1,13 +1,12 @@ --- Language: Cpp -BasedOnStyle: LLVM +BasedOnStyle: Microsoft AccessModifierOffset: -4 AlignConsecutiveAssignments: false AlignConsecutiveDeclarations: false AlignOperands: true AlignTrailingComments: false AllowShortBlocksOnASingleLine: false -AllowShortFunctionsOnASingleLine: None AlwaysBreakTemplateDeclarations: Yes BraceWrapping: AfterCaseLabel: true @@ -27,10 +26,8 @@ BraceWrapping: SplitEmptyFunction: true SplitEmptyRecord: true SplitEmptyNamespace: true -BreakBeforeBraces: Custom BreakConstructorInitializers: AfterColon BreakConstructorInitializersBeforeComma: false -ColumnLimit: 120 ConstructorInitializerAllOnOneLineOrOnePerLine: false ContinuationIndentWidth: 8 IncludeCategories: @@ -42,7 +39,6 @@ IncludeCategories: Priority: 3 IncludeIsMainRegex: '([-_](test|unittest))?$' IndentCaseLabels: true -IndentWidth: 4 InsertNewlineAtEOF: true MacroBlockBegin: '' MacroBlockEnd: '' @@ -56,5 +52,4 @@ SpacesInAngles: false SpacesInConditionalStatement: false SpacesInCStyleCastParentheses: false SpacesInParentheses: false -TabWidth: 4 ... diff --git a/cformat.xml b/cformat.xml new file mode 100644 index 0000000..0e64214 --- /dev/null +++ b/cformat.xml @@ -0,0 +1,95 @@ + + + + \ No newline at end of file