-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 725c4b8
Showing
62 changed files
with
58,321 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
Language: Cpp | ||
|
||
# defaults (if not documented) can be found here: | ||
# https://github.com/llvm-mirror/clang/blob/master/lib/Format/Format.cpp | ||
BasedOnStyle: WebKit | ||
|
||
# make it look more Linuxy | ||
AllowShortFunctionsOnASingleLine: None | ||
PointerAlignment: Right | ||
|
||
# custom brace breaks, but defaults based on "Linux" style. | ||
BreakBeforeBraces: 'Custom' | ||
BraceWrapping: { | ||
AfterClass: 'true' # linux default | ||
AfterFunction: 'true' # linux default | ||
AfterNamespace: 'false' # non-linux | ||
# everything else is same default as linux style. | ||
AfterControlStatement: 'false' | ||
AfterEnum: 'false' | ||
AfterObjCDeclaration: 'false' | ||
AfterStruct: 'false' | ||
AfterUnion: 'false' | ||
BeforeCatch: 'false' | ||
BeforeElse: 'false' | ||
IndentBraces: 'false' | ||
} | ||
|
||
AlignTrailingComments: true | ||
|
||
# had to re-set this after changing BraceWrapping. WebKit default is 0. | ||
ColumnLimit: 0 | ||
|
||
# don't inner (nested) namespaces. | ||
NamespaceIndentation: None | ||
|
||
# modernize | ||
Standard: Cpp11 | ||
Cpp11BracedListStyle: true | ||
SpaceBeforeCpp11BracedList: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.idea/ | ||
cmake-build-*/ | ||
cmd/.idea/ |
Oops, something went wrong.