mirror of
https://github.com/mpusz/mp-units.git
synced 2025-06-25 01:01:33 +02:00
166 lines
4.5 KiB
YAML
166 lines
4.5 KiB
YAML
---
|
|
BasedOnStyle: Google
|
|
---
|
|
Language: Cpp
|
|
AccessModifierOffset: -2
|
|
# AlignAfterOpenBracket: Align
|
|
# AlignConsecutiveAssignments: false
|
|
# AlignConsecutiveDeclarations: false
|
|
# AlignConsecutiveMacros: false
|
|
# AlignEscapedNewlines: Left
|
|
# AlignOperands: true
|
|
# AlignTrailingComments: true
|
|
# AllowAllArgumentsOnNextLine: true
|
|
# AllowAllConstructorInitializersOnNextLine: true
|
|
# AllowAllParametersOfDeclarationOnNextLine: true
|
|
# AllowShortBlocksOnASingleLine: Never
|
|
# AllowShortCaseLabelsOnASingleLine: false
|
|
# AllowShortFunctionsOnASingleLine: All
|
|
# AllowShortIfStatementsOnASingleLine: WithoutElse
|
|
# AllowShortLambdasOnASingleLine: All
|
|
# AllowShortLoopsOnASingleLine: true
|
|
# AlwaysBreakAfterDefinitionReturnType: None
|
|
# AlwaysBreakAfterReturnType: None
|
|
# AlwaysBreakBeforeMultilineStrings: true
|
|
# AlwaysBreakTemplateDeclarations: Yes
|
|
# BinPackArguments: true
|
|
# BinPackParameters: true
|
|
BraceWrapping:
|
|
# AfterCaseLabel: false
|
|
AfterClass: false
|
|
# AfterControlStatement: false
|
|
# AfterEnum: false
|
|
AfterFunction: true
|
|
# AfterNamespace: false
|
|
# AfterObjCDeclaration: false
|
|
AfterStruct: false
|
|
# AfterUnion: false
|
|
# AfterExternBlock: false
|
|
# BeforeCatch: false
|
|
# BeforeElse: false
|
|
# IndentBraces: false
|
|
# SplitEmptyFunction: true
|
|
# SplitEmptyRecord: true
|
|
# SplitEmptyNamespace: true
|
|
# BreakAfterJavaFieldAnnotations: false
|
|
# BreakBeforeBinaryOperators: None
|
|
BreakBeforeBraces: Custom
|
|
# BreakBeforeInheritanceComma: false
|
|
# BreakBeforeTernaryOperators: true
|
|
BreakConstructorInitializers: AfterColon
|
|
BreakConstructorInitializersBeforeComma: true
|
|
BreakInheritanceList: AfterColon
|
|
# BreakStringLiterals: true
|
|
ColumnLimit: 120
|
|
# CommentPragmas: '^ IWYU pragma:'
|
|
# CompactNamespaces: false
|
|
# ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
# ConstructorInitializerIndentWidth: 4
|
|
# ContinuationIndentWidth: 4
|
|
# Cpp11BracedListStyle: true
|
|
DerivePointerAlignment: false
|
|
# DisableFormat: false
|
|
# ExperimentalAutoDetectBinPacking: false
|
|
# FixNamespaceComments: true
|
|
ForEachMacros:
|
|
- foreach
|
|
- Q_FOREACH
|
|
- BOOST_FOREACH
|
|
- SECTION
|
|
- GIVEN
|
|
- WHEN
|
|
- THEN
|
|
IncludeBlocks: Merge
|
|
IncludeCategories:
|
|
- Regex: '^".*'
|
|
Priority: 1
|
|
- Regex: '^".+/.*'
|
|
Priority: 2
|
|
- Regex: '^<.+/.*'
|
|
Priority: 3
|
|
- Regex: '^<.*\.h>'
|
|
Priority: 4
|
|
- Regex: '^<.*'
|
|
Priority: 5
|
|
# IncludeIsMainRegex: '([-_](test)(_.+)?)?$'
|
|
# IndentCaseLabels: true
|
|
# IndentGotoLabels: true
|
|
# IndentPPDirectives: None
|
|
# IndentWidth: 2
|
|
# IndentWrappedFunctionNames: false
|
|
# JavaScriptQuotes: Leave
|
|
# JavaScriptWrapImports: true
|
|
# KeepEmptyLinesAtTheStartOfBlocks: false
|
|
# MacroBlockBegin: ''
|
|
# MacroBlockEnd: ''
|
|
# MaxEmptyLinesToKeep: 1
|
|
# NamespaceIndentation: None
|
|
# ObjCBinPackProtocolList: Never
|
|
# ObjCBlockIndentWidth: 2
|
|
# ObjCSpaceAfterProperty: false
|
|
# ObjCSpaceBeforeProtocolList: true
|
|
# PenaltyBreakAssignment: 2
|
|
# PenaltyBreakBeforeFirstCallParameter: 1
|
|
# PenaltyBreakComment: 300
|
|
# PenaltyBreakFirstLessLess: 120
|
|
# PenaltyBreakString: 1000
|
|
# PenaltyBreakTemplateDeclaration: 10
|
|
# PenaltyExcessCharacter: 1000000
|
|
# PenaltyReturnTypeOnItsOwnLine: 200
|
|
# PointerAlignment: Left
|
|
# RawStringFormats:
|
|
# - Language: Cpp
|
|
# Delimiters:
|
|
# - cc
|
|
# - CC
|
|
# - cpp
|
|
# - Cpp
|
|
# - CPP
|
|
# - 'c++'
|
|
# - 'C++'
|
|
# CanonicalDelimiter: ''
|
|
# BasedOnStyle: google
|
|
# - Language: TextProto
|
|
# Delimiters:
|
|
# - pb
|
|
# - PB
|
|
# - proto
|
|
# - PROTO
|
|
# EnclosingFunctions:
|
|
# - EqualsProto
|
|
# - EquivToProto
|
|
# - PARSE_PARTIAL_TEXT_PROTO
|
|
# - PARSE_TEST_PROTO
|
|
# - PARSE_TEXT_PROTO
|
|
# - ParseTextOrDie
|
|
# - ParseTextProtoOrDie
|
|
# CanonicalDelimiter: ''
|
|
# BasedOnStyle: google
|
|
# ReflowComments: true
|
|
# SortIncludes: true
|
|
# SortUsingDeclarations: true
|
|
# SpaceAfterCStyleCast: false
|
|
# SpaceAfterLogicalNot: false
|
|
SpaceAfterTemplateKeyword: false
|
|
# SpaceBeforeAssignmentOperators: true
|
|
# SpaceBeforeCpp11BracedList: false
|
|
# SpaceBeforeCtorInitializerColon: true
|
|
# SpaceBeforeInheritanceColon: true
|
|
# SpaceBeforeParens: ControlStatements
|
|
# SpaceBeforeRangeBasedForLoopColon: true
|
|
# SpaceInEmptyBlock: false
|
|
# SpaceInEmptyParentheses: false
|
|
# SpacesBeforeTrailingComments: 2
|
|
# SpacesInAngles: false
|
|
# SpacesInCStyleCastParentheses: false
|
|
# SpacesInContainerLiterals: true
|
|
# SpacesInParentheses: false
|
|
# SpacesInSquareBrackets: false
|
|
Standard: Latest
|
|
# StatementMacros:
|
|
# - Q_UNUSED
|
|
# - QT_REQUIRE_VERSION
|
|
# TabWidth: 8
|
|
# UseTab: Never
|
|
# ...
|