add licenses and readme
[rv32.git] / software / .clang-format
1 ---
2 Language: Cpp
3 BasedOnStyle: Google
4 AccessModifierOffset: -4
5 AlignAfterOpenBracket: true
6 AlignConsecutiveAssignments: false
7 AlignEscapedNewlinesLeft: true
8 AlignOperands: true
9 AlignTrailingComments: false
10 AllowAllParametersOfDeclarationOnNextLine: true
11 AllowShortBlocksOnASingleLine: false
12 AllowShortCaseLabelsOnASingleLine: false
13 AllowShortFunctionsOnASingleLine: None
14 AllowShortIfStatementsOnASingleLine: false
15 AllowShortLoopsOnASingleLine: false
16 AlwaysBreakAfterDefinitionReturnType: None
17 AlwaysBreakBeforeMultilineStrings: true
18 AlwaysBreakTemplateDeclarations: true
19 BinPackArguments: false
20 BinPackParameters: false
21 BreakBeforeBinaryOperators: NonAssignment
22 BreakBeforeBraces: Allman
23 BreakBeforeTernaryOperators: false
24 BreakConstructorInitializersBeforeComma: false
25 ColumnLimit: 100
26 CommentPragmas: '^ IWYU pragma:'
27 ConstructorInitializerAllOnOneLineOrOnePerLine: true
28 ConstructorInitializerIndentWidth: 4
29 ContinuationIndentWidth: 4
30 Cpp11BracedListStyle: true
31 DerivePointerAlignment: false
32 DisableFormat: false
33 ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
34 IndentCaseLabels: false
35 IndentWidth: 4
36 IndentWrappedFunctionNames: true
37 KeepEmptyLinesAtTheStartOfBlocks: false
38 MacroBlockBegin: ''
39 MacroBlockEnd: ''
40 MaxEmptyLinesToKeep: 2
41 NamespaceIndentation: None
42 ObjCBlockIndentWidth: 4
43 ObjCSpaceAfterProperty: false
44 ObjCSpaceBeforeProtocolList: false
45 PenaltyBreakBeforeFirstCallParameter: 1
46 PenaltyBreakComment: 300
47 PenaltyBreakFirstLessLess: 120
48 PenaltyBreakString: 1000
49 PenaltyExcessCharacter: 1000000
50 PenaltyReturnTypeOnItsOwnLine: 200
51 PointerAlignment: Right
52 SpaceAfterCStyleCast: false
53 SpaceBeforeAssignmentOperators: true
54 SpaceBeforeParens: Never
55 SpaceInEmptyParentheses: false
56 SpacesBeforeTrailingComments: 1
57 SpacesInAngles: false
58 SpacesInCStyleCastParentheses: false
59 SpacesInContainerLiterals: false
60 SpacesInParentheses: false
61 SpacesInSquareBrackets: false
62 Standard: Cpp11
63 TabWidth: 8
64 UseTab: Never
65 ...