Skip to content

Commit 5eef219

Browse files
committed
[Chore] (clang-format): Add .clang-format
1 parent 297af68 commit 5eef219

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

src/main/cpp/.clang-format

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
BasedOnStyle: Microsoft
2+
IndentWidth: 4
3+
UseTab: Never
4+
AccessModifierOffset: -4
5+
PointerAlignment: Left
6+
BreakBeforeBraces: Custom
7+
BraceWrapping:
8+
AfterFunction: false
9+
AfterClass: false
10+
AfterControlStatement: Never
11+
AfterEnum: false
12+
AfterNamespace: false
13+
AfterStruct: false
14+
AfterUnion: false
15+
BeforeElse: false
16+
SplitEmptyFunction: false
17+
SplitEmptyRecord: false
18+
19+
AllowShortBlocksOnASingleLine: Empty
20+
AllowShortIfStatementsOnASingleLine: WithoutElse
21+
AlwaysBreakTemplateDeclarations: Yes
22+
NamespaceIndentation: All
23+
AllowShortFunctionsOnASingleLine: Inline
24+
SortIncludes: false

0 commit comments

Comments
 (0)