mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 00:51:19 +00:00
ef462a4800
* Fix for clang-format parsing error * Align consecutive macros for clang-format * Dont align escaped newlines * Use spaces for some alignment * Add clang-format script
27 lines
936 B
YAML
27 lines
936 B
YAML
Language: Cpp
|
|
MaxEmptyLinesToKeep: 1
|
|
SpaceBeforeParens: Always
|
|
SpaceInEmptyParentheses: false
|
|
SpacesInContainerLiterals: true
|
|
BasedOnStyle: LLVM
|
|
ContinuationIndentWidth: 8
|
|
IndentCaseLabels: false
|
|
IndentFunctionDeclarationAfterType: false
|
|
IndentWidth: 8
|
|
UseTab: ForContinuationAndIndentation
|
|
ColumnLimit: 0
|
|
BreakBeforeBraces: Attach
|
|
BreakBeforeTernaryOperators: true
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
AllowShortFunctionsOnASingleLine: Inline
|
|
AllowShortLoopsOnASingleLine: false
|
|
AlignAfterOpenBracket: DontAlign
|
|
AlignEscapedNewlines: DontAlign
|
|
AlignConsecutiveMacros: true
|
|
AlignTrailingComments: false
|
|
AlignOperands: false
|
|
Cpp11BracedListStyle: false
|
|
ForEachMacros: ['r_list_foreach', 'ls_foreach', 'fcn_tree_foreach_intersect', 'r_skiplist_foreach', 'graph_foreach_anode', 'r_list_foreach_safe', 'r_pvector_foreach', 'r_rbtree_foreach', 'r_interval_ tree_foreach']
|
|
SortIncludes: false
|