radare2/doc/clang-format

32 lines
774 B
Plaintext
Raw Normal View History

2014-12-17 00:18:44 +01:00
Language: Cpp
MaxEmptyLinesToKeep: 1
SpaceBeforeParens: Always
SpaceInEmptyParentheses: false
2015-12-09 00:41:44 +01:00
SpacesInContainerLiterals: true
2014-12-17 00:18:44 +01:00
BasedOnStyle: LLVM
ContinuationIndentWidth: 8
IndentCaseLabels: false
IndentFunctionDeclarationAfterType: false
IndentWidth: 8
UseTab: Always
IndentCaseLabels: false
2015-08-05 00:03:54 +02:00
ColumnLimit: 0
2014-12-17 00:18:44 +01:00
BreakBeforeBraces: Attach
BraceWrapping: {
AfterClass: 'true'
2017-07-04 13:59:58 -07:00
AfterControlStatement: 'true'
AfterEnum : 'true'
AfterFunction : 'true'
AfterNamespace : 'true'
AfterStruct : 'true'
AfterUnion : 'true'
BeforeCatch : 'true'
BeforeElse : 'true'
IndentBraces : 'true'
}
2014-12-17 00:18:44 +01:00
BreakBeforeTernaryOperators: false
2015-08-05 00:03:54 +02:00
AllowShortIfStatementsOnASingleLine: true
2014-12-17 00:18:44 +01:00
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
2015-08-05 00:03:54 +02:00
AllowShortLoopsOnASingleLine: true