-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reformatted code with updated .clang-format
- Loading branch information
1 parent
17a2f7c
commit ace0d4b
Showing
22 changed files
with
516 additions
and
323 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,38 @@ | ||
--- | ||
BasedOnStyle: Google | ||
|
||
# indentation: | ||
IndentWidth: 4 | ||
AccessModifierOffset: -4 | ||
IndentWrappedFunctionNames: 'true' | ||
IndentCaseLabels: 'true' | ||
NamespaceIndentation: Inner | ||
|
||
# sorting: | ||
SortIncludes: 'true' | ||
SortUsingDeclarations: 'true' | ||
|
||
# Must be 80 characters or less! | ||
ColumnLimit: 80 | ||
|
||
# use \n instead of \r\n | ||
UseCRLF: false | ||
|
||
# spaces, not tabs! | ||
UseTab: Never | ||
|
||
# if (x) doStuff() is not allowed, bad style | ||
AllowShortIfStatementsOnASingleLine: false | ||
|
||
# change the next line to All for Alistair's textbook style | ||
AlwaysBreakAfterReturnType: TopLevelDefinitions | ||
|
||
# others | ||
DerivePointerAlignment: 'true' | ||
FixNamespaceComments: 'true' | ||
IncludeBlocks: Merge | ||
PointerAlignment: Left | ||
ReferenceAlignment: Left | ||
SpaceAfterLogicalNot: 'true' | ||
SpaceAfterTemplateKeyword: 'true' | ||
Standard: Auto |
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
Oops, something went wrong.