Added .clang-format and .clang-tidy. No code changes. (0.41.5)
This commit is contained in:
parent
892fa3cfbf
commit
872eaf3ab3
3 changed files with 27 additions and 0 deletions
18
.clang-format
Normal file
18
.clang-format
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
BasedOnStyle: LLVM
|
||||
IndentWidth: 2
|
||||
TabWidth: 2
|
||||
UseTab: Never
|
||||
ContinuationIndentWidth: 2
|
||||
AccessModifierOffset: -2
|
||||
BraceWrapping:
|
||||
AfterControlStatement: false
|
||||
AfterEnum: false
|
||||
AfterFunction: false
|
||||
AfterNamespace: false
|
||||
AfterStruct: false
|
||||
BeforeElse: false
|
||||
IndentBraces: false
|
||||
ColumnLimit: 0
|
||||
AllowShortIfStatementsOnASingleLine: true
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
PenaltyExcessCharacter: 50
|
||||
Loading…
Add table
Add a link
Reference in a new issue