diff options
Diffstat (limited to 'src/.clang-format')
| -rw-r--r-- | src/.clang-format | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/.clang-format b/src/.clang-format new file mode 100644 index 0000000..5d305ae --- /dev/null +++ b/src/.clang-format | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # Format Style Options - Created with Clang Power Tools | ||
| 2 | --- | ||
| 3 | BasedOnStyle: WebKit | ||
| 4 | AllowShortCaseLabelsOnASingleLine: true | ||
| 5 | AllowShortIfStatementsOnASingleLine: WithoutElse | ||
| 6 | AllowShortLoopsOnASingleLine: true | ||
| 7 | BreakBeforeBraces: Attach | ||
| 8 | Cpp11BracedListStyle: true | ||
| 9 | IndentCaseLabels: true | ||
| 10 | NamespaceIndentation: None | ||
| 11 | SpaceBeforeCpp11BracedList: false | ||
| 12 | TabWidth: 4 | ||
| 13 | AlignEscapedNewlines: DontAlign | ||
| 14 | AlwaysBreakBeforeMultilineStrings: true | ||
| 15 | FixNamespaceComments: true | ||
| 16 | UseTab: Always | ||
| 17 | ... | ||
