-
Notifications
You must be signed in to change notification settings - Fork 6
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
1 parent
56cfbb2
commit 9c95b2e
Showing
1 changed file
with
54 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,54 @@ | ||
IndentWidth: 4 | ||
Language: Cpp | ||
UseTab: Never | ||
ColumnLimit: 140 | ||
PointerAlignment: Left | ||
SpaceAfterCStyleCast: false | ||
Cpp11BracedListStyle: false | ||
SpaceBeforeCpp11BracedList: false | ||
|
||
# Cases inside switches are indented one level | ||
IndentCaseLabels: true | ||
|
||
AlignAfterOpenBracket: AlwaysBreak | ||
|
||
AllowShortBlocksOnASingleLine: false | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortEnumsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: false | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLambdasOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
|
||
# Otherwise it would align escaped newlines to the column limit | ||
AlignEscapedNewlines: Left | ||
|
||
AlignTrailingComments: true | ||
SortIncludes: true | ||
|
||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterControlStatement: Never | ||
AfterFunction: false | ||
AfterNamespace: false | ||
AfterStruct: false | ||
AfterUnion: false | ||
AfterExternBlock: false | ||
BeforeElse: true | ||
|
||
# Adds a comment at the end of the namespace with its name | ||
FixNamespaceComments: true | ||
# Indent namespace's content | ||
NamespaceIndentation: All | ||
|
||
# Aligns preprocessor directives | ||
IndentPPDirectives: AfterHash | ||
|
||
# No space between template and < | ||
SpaceAfterTemplateKeyword: false | ||
# Newline after template | ||
AlwaysBreakTemplateDeclarations: Yes | ||
|
||
LambdaBodyIndentation: Signature | ||
|
||
TypenameMacros: ["PTR"] |