mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
bc8c8f82d2
The prevention mechanism uses a dummy suffix: '_THIS_SEQUENCE_IS_NEVER_GOING_TO_HAPPEN'.
131 lines
3.2 KiB
Plaintext
131 lines
3.2 KiB
Plaintext
{
|
|
BasedOnStyle: LLVM,
|
|
AccessModifierOffset: -2,
|
|
AlignAfterOpenBracket: Align,
|
|
AlignConsecutiveAssignments: false,
|
|
AlignConsecutiveDeclarations: false,
|
|
AlignEscapedNewlines: Left,
|
|
AlignOperands: true,
|
|
AlignTrailingComments: false,
|
|
AllowAllParametersOfDeclarationOnNextLine: false,
|
|
AllowShortBlocksOnASingleLine: false,
|
|
AllowShortCaseLabelsOnASingleLine: false,
|
|
AllowShortFunctionsOnASingleLine: InlineOnly,
|
|
AllowShortIfStatementsOnASingleLine: false,
|
|
AllowShortLoopsOnASingleLine: false,
|
|
AlwaysBreakAfterDefinitionReturnType: None,
|
|
AlwaysBreakAfterReturnType: None,
|
|
AlwaysBreakBeforeMultilineStrings: false,
|
|
AlwaysBreakTemplateDeclarations: true,
|
|
BinPackArguments: false,
|
|
BinPackParameters: false,
|
|
BreakBeforeBraces: Custom,
|
|
BraceWrapping: {
|
|
AfterClass: false,
|
|
AfterControlStatement: false,
|
|
AfterEnum: false,
|
|
AfterExternBlock: false,
|
|
AfterFunction: false,
|
|
AfterNamespace: false,
|
|
AfterObjCDeclaration: false,
|
|
AfterStruct: false,
|
|
AfterUnion: false,
|
|
BeforeCatch: false,
|
|
BeforeElse: false,
|
|
IndentBraces: false,
|
|
SplitEmptyFunction: true,
|
|
SplitEmptyNamespace: true,
|
|
SplitEmptyRecord: true,
|
|
},
|
|
BreakBeforeBinaryOperators: NonAssignment,
|
|
BreakBeforeInheritanceComma: false,
|
|
BreakBeforeTernaryOperators: false,
|
|
BreakConstructorInitializers: AfterColon,
|
|
BreakConstructorInitializersBeforeComma: false,
|
|
BreakStringLiterals: true,
|
|
ColumnLimit: 80,
|
|
CommentPragmas: '^ (TODO|HACK|XXX|WIP)',
|
|
CompactNamespaces: false,
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true,
|
|
ConstructorInitializerIndentWidth: 2,
|
|
ContinuationIndentWidth: 2,
|
|
Cpp11BracedListStyle: false,
|
|
DerivePointerAlignment: false,
|
|
DisableFormat: false,
|
|
ExperimentalAutoDetectBinPacking: false,
|
|
FixNamespaceComments: true,
|
|
ForEachMacros:
|
|
- foreach
|
|
- Q_FOREACH
|
|
- BOOST_FOREACH
|
|
,
|
|
IncludeBlocks: Regroup,
|
|
IncludeCategories:
|
|
- {
|
|
Regex: '^"Caliban/',
|
|
Priority: -1,
|
|
}
|
|
- {
|
|
Regex: '^"revng-c/',
|
|
Priority: -2,
|
|
}
|
|
- {
|
|
Regex: '^"revng/',
|
|
Priority: -3,
|
|
}
|
|
- {
|
|
Regex: '^"clang/',
|
|
Priority: -4,
|
|
}
|
|
- {
|
|
Regex: '^"llvm/',
|
|
Priority: -5,
|
|
}
|
|
- {
|
|
Regex: '^"Qt[^/]+/',
|
|
Priority: -6,
|
|
}
|
|
- {
|
|
Regex: '^"boost/',
|
|
Priority: -7,
|
|
}
|
|
- {
|
|
Regex: '^<',
|
|
Priority: -8,
|
|
}
|
|
IncludeIsMainRegex: _THIS_SEQUENCE_IS_NEVER_GOING_TO_HAPPEN,
|
|
IndentCaseLabels: false,
|
|
IndentPPDirectives: None,
|
|
IndentWidth: 2,
|
|
IndentWrappedFunctionNames: false,
|
|
KeepEmptyLinesAtTheStartOfBlocks: true,
|
|
Language: Cpp,
|
|
MaxEmptyLinesToKeep: 1,
|
|
NamespaceIndentation: None,
|
|
PenaltyBreakAssignment: 2147483647,
|
|
PenaltyBreakBeforeFirstCallParameter: 800000,
|
|
PenaltyBreakComment: 0,
|
|
PenaltyBreakFirstLessLess: 120,
|
|
PenaltyBreakString: 10,
|
|
PenaltyExcessCharacter: 751362,
|
|
PenaltyReturnTypeOnItsOwnLine: 0,
|
|
PointerAlignment: Right,
|
|
ReflowComments: true,
|
|
SortIncludes: true,
|
|
SortUsingDeclarations: true,
|
|
SpaceAfterCStyleCast: true,
|
|
SpaceAfterTemplateKeyword: false,
|
|
SpaceBeforeAssignmentOperators: true,
|
|
SpaceBeforeParens: ControlStatements,
|
|
SpaceInEmptyParentheses: false,
|
|
SpacesBeforeTrailingComments: 1,
|
|
SpacesInAngles: false,
|
|
SpacesInCStyleCastParentheses: false,
|
|
SpacesInContainerLiterals: false,
|
|
SpacesInParentheses: false,
|
|
SpacesInSquareBrackets: false,
|
|
Standard: Cpp11,
|
|
TabWidth: 2,
|
|
UseTab: Never,
|
|
}
|