Skip to content

Commit 3370cc5

Browse files
byron-marohncmickeyb
authored andcommitted
Adding .clang-format settings and top-level .gitignore
Signed-off-by: Byron Marohn <[email protected]>
1 parent 0acac4a commit 3370cc5

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.clang-format

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
BasedOnStyle: Google
3+
IndentWidth: 4
4+
ObjCBlockIndentWidth: 4
5+
AllowShortIfStatementsOnASingleLine: false
6+
AllowShortLoopsOnASingleLine: false
7+
AllowShortFunctionsOnASingleLine: Inline
8+
AllowShortIfStatementsOnASingleLine: false
9+
AllowShortLoopsOnASingleLine: false
10+
#AlignAfterOpenBracket: Align
11+
AlignAfterOpenBracket: DontAlign
12+
ColumnLimit: 100
13+
BraceWrapping:
14+
AfterClass: true
15+
AfterControlStatement: true
16+
AfterEnum: true
17+
AfterFunction: true
18+
AfterNamespace: true
19+
AfterObjCDeclaration: true
20+
AfterStruct: true
21+
AfterUnion: true
22+
BeforeCatch: true
23+
BeforeElse: true
24+
IndentBraces: false
25+
BreakBeforeBraces: Custom
26+
NamespaceIndentation: Inner
27+
DerivePointerAlignment: false
28+
AccessModifierOffset: -4
29+
BinPackParameters: false

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__pycache__

0 commit comments

Comments
 (0)