Skip to content

Commit 1fd8c50

Browse files
committed
.clang-format added
1 parent 65fe9b0 commit 1fd8c50

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.clang-format

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Standard: Cpp11
2+
UseTab: ForIndentation
3+
TabWidth: 1
4+
IndentWidth: 1
5+
AccessModifierOffset: -1
6+
PointerAlignment: Left
7+
NamespaceIndentation: All
8+
ColumnLimit: 0
9+
BreakBeforeBraces: Allman
10+
BreakConstructorInitializersBeforeComma: true
11+
BreakBeforeBinaryOperators: false
12+
BreakBeforeTernaryOperators: false
13+
AlwaysBreakTemplateDeclarations: true
14+
AllowShortIfStatementsOnASingleLine: true
15+
AllowShortBlocksOnASingleLine: true
16+
AllowShortCaseLabelsOnASingleLine: true
17+
AllowShortFunctionsOnASingleLine: false
18+
AllowShortLoopsOnASingleLine: true
19+
Cpp11BracedListStyle: true
20+
IndentCaseLabels: false
21+
SortIncludes: false
22+
ReflowComments: true
23+
AlignConsecutiveAssignments: true
24+
AlignTrailingComments: true
25+
AlignAfterOpenBracket: false
26+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
27+
BinPackArguments: true
28+
BinPackParameters: true
29+
AlwaysBreakAfterReturnType: None
30+
KeepEmptyLinesAtTheStartOfBlocks: true
31+
IndentWrappedFunctionNames: false
32+
33+
#SpaceAfterTemplateKeyword: false

usertype.dat

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
throw_exception
2+
rethrow_exception

0 commit comments

Comments
 (0)