rizin/.clang-format

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
1.1 KiB
Text
Raw Normal View History

2014-12-17 00:18:44 +01:00
MaxEmptyLinesToKeep: 1
SpaceBeforeParens: ControlStatements
2014-12-17 00:18:44 +01:00
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
2020-12-14 11:57:35 +08:00
UseTab: ForContinuationAndIndentation
2015-08-05 00:03:54 +02:00
ColumnLimit: 0
2014-12-17 00:18:44 +01:00
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: true
AllowShortIfStatementsOnASingleLine: false
2014-12-17 00:18:44 +01:00
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
AllowShortLoopsOnASingleLine: false
AlignAfterOpenBracket: DontAlign
2020-12-11 19:38:12 +08:00
AlignEscapedNewlines: DontAlign
AlignConsecutiveMacros: true
AlignTrailingComments: false
2018-09-26 16:48:22 +02:00
AlignOperands: false
Cpp11BracedListStyle: false
ForEachMacros: ['rz_list_foreach', 'rz_list_foreach_enum', 'rz_list_foreach_safe', 'rz_vector_foreach', 'rz_vector_foreach_prev', 'rz_vector_enumerate', 'rz_pvector_foreach', 'rz_pvector_enumerate', 'rz_rbtree_foreach', 'rz_interval_tree_foreach', 'rz_skiplist_foreach', 'graph_foreach_anode']
SortIncludes: false
RequiresClausePosition: SingleLine
TypenameMacros: ['HT_', 'Ht_', 'HtName_']