mirror of
https://github.com/rizinorg/cutter
synced 2026-08-11 16:23:06 -04:00
Added scripts/clang-tidy.py Updated doc to tell about clang-tidy Added checks for clang-tidy are defined below * cppcoreguidelines-pro-type-cstyle-cast * misc-const-correctness * misc-unused-parameters * modernize-loop-convert * modernize-use-auto * modernize-use-nullptr * readability-braces-around-statements * readability-identifier-naming * readability-make-member-function-const * performance-for-range-copy * performance-enum-size * performance-move-const-arg * performance-no-automatic-move * performance-noexcept-destructor * performance-noexcept-move-constructor * performance-noexcept-swap * performance-unnecessary-copy-initialization * performance-unnecessary-value-param * performance-use-std-move * performance-move-constructor-init
223 lines
6.2 KiB
Text
223 lines
6.2 KiB
Text
# Do not edit this file! Automatically generated using scripts/udate_clang_format.sh and scripts/_clang_format
|
|
# See update_clang_format.sh for more information.
|
|
# generated using clang-format version 15.0.4 (https://github.com/ssciwr/clang-format-wheel 0bdee69eb2db136302efab015caaf616d33f5430)
|
|
---
|
|
Language: Cpp
|
|
AccessModifierOffset: -4
|
|
AlignAfterOpenBracket: Align
|
|
AlignArrayOfStructures: None
|
|
AlignConsecutiveAssignments:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
PadOperators: true
|
|
AlignConsecutiveBitFields:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
PadOperators: false
|
|
AlignConsecutiveDeclarations:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
PadOperators: false
|
|
AlignConsecutiveMacros:
|
|
Enabled: false
|
|
AcrossEmptyLines: false
|
|
AcrossComments: false
|
|
AlignCompound: false
|
|
PadOperators: false
|
|
AlignEscapedNewlines: Right
|
|
AlignOperands: DontAlign
|
|
AlignTrailingComments: false
|
|
AllowAllArgumentsOnNextLine: true
|
|
AllowAllParametersOfDeclarationOnNextLine: true
|
|
AllowShortEnumsOnASingleLine: true
|
|
AllowShortBlocksOnASingleLine: Empty
|
|
AllowShortCaseLabelsOnASingleLine: false
|
|
AllowShortFunctionsOnASingleLine: Inline
|
|
AllowShortLambdasOnASingleLine: All
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
AllowShortLoopsOnASingleLine: false
|
|
AlwaysBreakAfterDefinitionReturnType: None
|
|
AlwaysBreakAfterReturnType: None
|
|
AlwaysBreakBeforeMultilineStrings: false
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
AttributeMacros:
|
|
- __capability
|
|
BinPackArguments: true
|
|
BinPackParameters: true
|
|
BraceWrapping:
|
|
AfterCaseLabel: false
|
|
AfterClass: true
|
|
AfterControlStatement: Never
|
|
AfterEnum: false
|
|
AfterFunction: true
|
|
AfterNamespace: false
|
|
AfterObjCDeclaration: false
|
|
AfterStruct: true
|
|
AfterUnion: false
|
|
AfterExternBlock: false
|
|
BeforeCatch: false
|
|
BeforeElse: false
|
|
BeforeLambdaBody: false
|
|
BeforeWhile: false
|
|
IndentBraces: false
|
|
SplitEmptyFunction: true
|
|
SplitEmptyRecord: true
|
|
SplitEmptyNamespace: true
|
|
BreakBeforeBinaryOperators: NonAssignment
|
|
BreakBeforeConceptDeclarations: Always
|
|
BreakBeforeBraces: Custom
|
|
BreakBeforeInheritanceComma: false
|
|
BreakInheritanceList: BeforeColon
|
|
BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializersBeforeComma: false
|
|
BreakConstructorInitializers: BeforeColon
|
|
BreakAfterJavaFieldAnnotations: false
|
|
BreakStringLiterals: true
|
|
ColumnLimit: 100
|
|
CommentPragmas: '^!|^:'
|
|
QualifierAlignment: Leave
|
|
CompactNamespaces: false
|
|
ConstructorInitializerIndentWidth: 4
|
|
ContinuationIndentWidth: 8
|
|
Cpp11BracedListStyle: false
|
|
DeriveLineEnding: true
|
|
DerivePointerAlignment: false
|
|
DisableFormat: false
|
|
EmptyLineAfterAccessModifier: Never
|
|
EmptyLineBeforeAccessModifier: LogicalBlock
|
|
ExperimentalAutoDetectBinPacking: false
|
|
PackConstructorInitializers: NextLine
|
|
BasedOnStyle: ''
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
|
AllowAllConstructorInitializersOnNextLine: true
|
|
FixNamespaceComments: false
|
|
ForEachMacros:
|
|
- foreach
|
|
- Q_FOREACH
|
|
- BOOST_FOREACH
|
|
- forever
|
|
- Q_FOREVER
|
|
- QBENCHMARK
|
|
- QBENCHMARK_ONCE
|
|
- CutterRzListForeach
|
|
IfMacros:
|
|
- KJ_IF_MAYBE
|
|
IncludeBlocks: Regroup
|
|
IncludeCategories:
|
|
- Regex: '^"([^"]*)"'
|
|
Priority: 1
|
|
SortPriority: 0
|
|
CaseSensitive: false
|
|
- Regex: '^<[Qq]'
|
|
Priority: 2
|
|
SortPriority: 0
|
|
CaseSensitive: false
|
|
- Regex: '.*'
|
|
Priority: 3
|
|
SortPriority: 0
|
|
CaseSensitive: false
|
|
IncludeIsMainRegex: '(Test)?$'
|
|
IncludeIsMainSourceRegex: ''
|
|
IndentAccessModifiers: false
|
|
IndentCaseLabels: false
|
|
IndentCaseBlocks: false
|
|
IndentGotoLabels: true
|
|
IndentPPDirectives: AfterHash
|
|
IndentExternBlock: AfterExternBlock
|
|
IndentRequiresClause: true
|
|
IndentWidth: 4
|
|
IndentWrappedFunctionNames: false
|
|
InsertBraces: true
|
|
InsertTrailingCommas: None
|
|
JavaScriptQuotes: Leave
|
|
JavaScriptWrapImports: true
|
|
KeepEmptyLinesAtTheStartOfBlocks: true
|
|
LambdaBodyIndentation: Signature
|
|
MacroBlockBegin: ''
|
|
MacroBlockEnd: ''
|
|
MaxEmptyLinesToKeep: 1
|
|
NamespaceIndentation: None
|
|
ObjCBinPackProtocolList: Auto
|
|
ObjCBlockIndentWidth: 4
|
|
ObjCBreakBeforeNestedBlockParam: true
|
|
ObjCSpaceAfterProperty: true
|
|
ObjCSpaceBeforeProtocolList: true
|
|
PenaltyBreakAssignment: 2
|
|
PenaltyBreakBeforeFirstCallParameter: 19
|
|
PenaltyBreakComment: 300
|
|
PenaltyBreakFirstLessLess: 120
|
|
PenaltyBreakOpenParenthesis: 0
|
|
PenaltyBreakString: 1000
|
|
PenaltyBreakTemplateDeclaration: 10
|
|
PenaltyExcessCharacter: 1000000
|
|
PenaltyReturnTypeOnItsOwnLine: 60
|
|
PenaltyIndentedWhitespace: 0
|
|
PointerAlignment: Right
|
|
PPIndentWidth: -1
|
|
ReferenceAlignment: Pointer
|
|
ReflowComments: true
|
|
RemoveBracesLLVM: false
|
|
RequiresClausePosition: OwnLine
|
|
SeparateDefinitionBlocks: Leave
|
|
ShortNamespaceLines: 1
|
|
SortIncludes: CaseSensitive
|
|
SortJavaStaticImport: Before
|
|
SortUsingDeclarations: true
|
|
SpaceAfterCStyleCast: false
|
|
SpaceAfterLogicalNot: false
|
|
SpaceAfterTemplateKeyword: false
|
|
SpaceBeforeAssignmentOperators: true
|
|
SpaceBeforeCaseColon: false
|
|
SpaceBeforeCpp11BracedList: true
|
|
SpaceBeforeCtorInitializerColon: true
|
|
SpaceBeforeInheritanceColon: true
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceBeforeParensOptions:
|
|
AfterControlStatements: true
|
|
AfterForeachMacros: true
|
|
AfterFunctionDefinitionName: false
|
|
AfterFunctionDeclarationName: false
|
|
AfterIfMacros: true
|
|
AfterOverloadedOperator: false
|
|
AfterRequiresInClause: false
|
|
AfterRequiresInExpression: false
|
|
BeforeNonEmptyParentheses: false
|
|
SpaceAroundPointerQualifiers: Default
|
|
SpaceBeforeRangeBasedForLoopColon: true
|
|
SpaceInEmptyBlock: false
|
|
SpaceInEmptyParentheses: false
|
|
SpacesBeforeTrailingComments: 1
|
|
SpacesInAngles: Never
|
|
SpacesInConditionalStatement: false
|
|
SpacesInContainerLiterals: true
|
|
SpacesInCStyleCastParentheses: false
|
|
SpacesInLineCommentPrefix:
|
|
Minimum: 1
|
|
Maximum: -1
|
|
SpacesInParentheses: false
|
|
SpacesInSquareBrackets: false
|
|
SpaceBeforeSquareBrackets: false
|
|
BitFieldColonSpacing: Both
|
|
Standard: Latest
|
|
StatementAttributeLikeMacros:
|
|
- emit
|
|
StatementMacros:
|
|
- Q_UNUSED
|
|
- QT_REQUIRE_VERSION
|
|
TabWidth: 8
|
|
UseCRLF: false
|
|
UseTab: Never
|
|
WhitespaceSensitiveMacros:
|
|
- STRINGIZE
|
|
- PP_STRINGIZE
|
|
- BOOST_PP_STRINGIZE
|
|
- NS_SWIFT_NAME
|
|
- CF_SWIFT_NAME
|
|
...
|
|
|