-
Notifications
You must be signed in to change notification settings - Fork 2
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
7d260e8
commit 8f4c515
Showing
2 changed files
with
28 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,9 @@ | ||
# Documentation about the style options and their meaning | ||
# https://releases.llvm.org/12.0.0/tools/clang/docs/ClangFormatStyleOptions.html | ||
|
||
Language: Cpp | ||
AccessModifierOffset: 0 | ||
AlignConsecutiveMacros: true | ||
BreakBeforeBraces: Linux | ||
ColumnLimit: 150 | ||
ConstructorInitializerIndentWidth: 2 |
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,19 @@ | ||
# -*- Python -*- | ||
|
||
with section("format"): | ||
|
||
# How wide to allow formatted cmake files | ||
line_width = 80 | ||
|
||
# How many spaces to tab for indent | ||
tab_size = 2 | ||
|
||
# If true, separate flow control names from their parentheses with a space | ||
separate_ctrl_name_with_space = False | ||
|
||
# If true, separate function names from parentheses with a space | ||
separate_fn_name_with_space = False | ||
|
||
# If a statement is wrapped to more than one line, than dangle the closing | ||
# parenthesis on its own line. | ||
dangle_parens = True |