mirror of
https://github.com/mpusz/mp-units.git
synced 2025-07-29 18:07:16 +02:00
.clang-format updated to the latest version
This commit is contained in:
@ -6,22 +6,27 @@ AccessModifierOffset: -2
|
|||||||
# AlignAfterOpenBracket: Align
|
# AlignAfterOpenBracket: Align
|
||||||
# AlignConsecutiveAssignments: false
|
# AlignConsecutiveAssignments: false
|
||||||
# AlignConsecutiveDeclarations: false
|
# AlignConsecutiveDeclarations: false
|
||||||
# AlignEscapedNewlinesLeft: true
|
# AlignConsecutiveMacros: false
|
||||||
|
# AlignEscapedNewlines: Left
|
||||||
# AlignOperands: true
|
# AlignOperands: true
|
||||||
# AlignTrailingComments: true
|
# AlignTrailingComments: true
|
||||||
|
# AllowAllArgumentsOnNextLine: true
|
||||||
|
# AllowAllConstructorInitializersOnNextLine: true
|
||||||
# AllowAllParametersOfDeclarationOnNextLine: true
|
# AllowAllParametersOfDeclarationOnNextLine: true
|
||||||
# AllowShortBlocksOnASingleLine: false
|
# AllowShortBlocksOnASingleLine: Never
|
||||||
# AllowShortCaseLabelsOnASingleLine: false
|
# AllowShortCaseLabelsOnASingleLine: false
|
||||||
# AllowShortFunctionsOnASingleLine: All
|
# AllowShortFunctionsOnASingleLine: All
|
||||||
# AllowShortIfStatementsOnASingleLine: true
|
# AllowShortIfStatementsOnASingleLine: WithoutElse
|
||||||
|
# AllowShortLambdasOnASingleLine: All
|
||||||
# AllowShortLoopsOnASingleLine: true
|
# AllowShortLoopsOnASingleLine: true
|
||||||
# AlwaysBreakAfterDefinitionReturnType: None
|
# AlwaysBreakAfterDefinitionReturnType: None
|
||||||
# AlwaysBreakAfterReturnType: None
|
# AlwaysBreakAfterReturnType: None
|
||||||
# AlwaysBreakBeforeMultilineStrings: true
|
# AlwaysBreakBeforeMultilineStrings: true
|
||||||
# AlwaysBreakTemplateDeclarations: true
|
# AlwaysBreakTemplateDeclarations: Yes
|
||||||
# BinPackArguments: true
|
# BinPackArguments: true
|
||||||
# BinPackParameters: true
|
# BinPackParameters: true
|
||||||
# BraceWrapping:
|
# BraceWrapping:
|
||||||
|
# AfterCaseLabel: false
|
||||||
# AfterClass: false
|
# AfterClass: false
|
||||||
# AfterControlStatement: false
|
# AfterControlStatement: false
|
||||||
# AfterEnum: false
|
# AfterEnum: false
|
||||||
@ -30,17 +35,25 @@ AccessModifierOffset: -2
|
|||||||
# AfterObjCDeclaration: false
|
# AfterObjCDeclaration: false
|
||||||
# AfterStruct: false
|
# AfterStruct: false
|
||||||
# AfterUnion: false
|
# AfterUnion: false
|
||||||
|
# AfterExternBlock: false
|
||||||
# BeforeCatch: false
|
# BeforeCatch: false
|
||||||
# BeforeElse: false
|
# BeforeElse: false
|
||||||
# IndentBraces: false
|
# IndentBraces: false
|
||||||
|
# SplitEmptyFunction: true
|
||||||
|
# SplitEmptyRecord: true
|
||||||
|
# SplitEmptyNamespace: true
|
||||||
|
# BreakAfterJavaFieldAnnotations: false
|
||||||
# BreakBeforeBinaryOperators: None
|
# BreakBeforeBinaryOperators: None
|
||||||
BreakBeforeBraces: Stroustrup
|
BreakBeforeBraces: Stroustrup
|
||||||
# BreakBeforeTernaryOperators: true
|
# BreakBeforeInheritanceComma: false
|
||||||
|
BreakBeforeTernaryOperators: false
|
||||||
|
BreakConstructorInitializers: AfterColon
|
||||||
BreakConstructorInitializersBeforeComma: true
|
BreakConstructorInitializersBeforeComma: true
|
||||||
# BreakAfterJavaFieldAnnotations: false
|
BreakInheritanceList: AfterColon
|
||||||
# BreakStringLiterals: true
|
# BreakStringLiterals: true
|
||||||
ColumnLimit: 120
|
ColumnLimit: 120
|
||||||
# CommentPragmas: '^ IWYU pragma:'
|
# CommentPragmas: '^ IWYU pragma:'
|
||||||
|
# CompactNamespaces: false
|
||||||
# ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
# ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
||||||
# ConstructorInitializerIndentWidth: 4
|
# ConstructorInitializerIndentWidth: 4
|
||||||
# ContinuationIndentWidth: 4
|
# ContinuationIndentWidth: 4
|
||||||
@ -48,7 +61,12 @@ ColumnLimit: 120
|
|||||||
DerivePointerAlignment: false
|
DerivePointerAlignment: false
|
||||||
# DisableFormat: false
|
# DisableFormat: false
|
||||||
# ExperimentalAutoDetectBinPacking: false
|
# ExperimentalAutoDetectBinPacking: false
|
||||||
# ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
# FixNamespaceComments: true
|
||||||
|
# ForEachMacros:
|
||||||
|
# - foreach
|
||||||
|
# - Q_FOREACH
|
||||||
|
# - BOOST_FOREACH
|
||||||
|
IncludeBlocks: Merge
|
||||||
IncludeCategories:
|
IncludeCategories:
|
||||||
- Regex: '^".*'
|
- Regex: '^".*'
|
||||||
Priority: 1
|
Priority: 1
|
||||||
@ -60,41 +78,84 @@ IncludeCategories:
|
|||||||
Priority: 4
|
Priority: 4
|
||||||
- Regex: '^<.*'
|
- Regex: '^<.*'
|
||||||
Priority: 5
|
Priority: 5
|
||||||
# IncludeIsMainRegex: '([-_](test|unittest))?$'
|
# IncludeIsMainRegex: '([-_](test)(_.+)?)?$'
|
||||||
# IndentCaseLabels: true
|
# IndentCaseLabels: true
|
||||||
|
# IndentGotoLabels: true
|
||||||
|
# IndentPPDirectives: None
|
||||||
# IndentWidth: 2
|
# IndentWidth: 2
|
||||||
# IndentWrappedFunctionNames: false
|
# IndentWrappedFunctionNames: false
|
||||||
# JavaScriptQuotes: Leave
|
# JavaScriptQuotes: Leave
|
||||||
# JavaScriptWrapImports: true
|
# JavaScriptWrapImports: true
|
||||||
KeepEmptyLinesAtTheStartOfBlocks: true
|
# KeepEmptyLinesAtTheStartOfBlocks: false
|
||||||
# MacroBlockBegin: ''
|
# MacroBlockBegin: ''
|
||||||
# MacroBlockEnd: ''
|
# MacroBlockEnd: ''
|
||||||
# MaxEmptyLinesToKeep: 1
|
# MaxEmptyLinesToKeep: 1
|
||||||
NamespaceIndentation: All
|
NamespaceIndentation: All
|
||||||
|
# ObjCBinPackProtocolList: Never
|
||||||
# ObjCBlockIndentWidth: 2
|
# ObjCBlockIndentWidth: 2
|
||||||
# ObjCSpaceAfterProperty: false
|
# ObjCSpaceAfterProperty: false
|
||||||
# ObjCSpaceBeforeProtocolList: false
|
# ObjCSpaceBeforeProtocolList: true
|
||||||
|
# PenaltyBreakAssignment: 2
|
||||||
# PenaltyBreakBeforeFirstCallParameter: 1
|
# PenaltyBreakBeforeFirstCallParameter: 1
|
||||||
# PenaltyBreakComment: 300
|
# PenaltyBreakComment: 300
|
||||||
# PenaltyBreakFirstLessLess: 120
|
# PenaltyBreakFirstLessLess: 120
|
||||||
# PenaltyBreakString: 1000
|
# PenaltyBreakString: 1000
|
||||||
|
# PenaltyBreakTemplateDeclaration: 10
|
||||||
# PenaltyExcessCharacter: 1000000
|
# PenaltyExcessCharacter: 1000000
|
||||||
# PenaltyReturnTypeOnItsOwnLine: 200
|
# PenaltyReturnTypeOnItsOwnLine: 200
|
||||||
# PointerAlignment: Left
|
# 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
|
# ReflowComments: true
|
||||||
# SortIncludes: true
|
# SortIncludes: true
|
||||||
|
# SortUsingDeclarations: true
|
||||||
# SpaceAfterCStyleCast: false
|
# SpaceAfterCStyleCast: false
|
||||||
|
# SpaceAfterLogicalNot: false
|
||||||
SpaceAfterTemplateKeyword: false
|
SpaceAfterTemplateKeyword: false
|
||||||
# SpaceBeforeAssignmentOperators: true
|
# SpaceBeforeAssignmentOperators: true
|
||||||
SpaceBeforeParens: ControlStatements
|
# SpaceBeforeCpp11BracedList: false
|
||||||
|
SpaceBeforeCtorInitializerColon: false
|
||||||
|
# SpaceBeforeInheritanceColon: true
|
||||||
|
SpaceBeforeParens: Never
|
||||||
|
# SpaceBeforeRangeBasedForLoopColon: true
|
||||||
|
# SpaceInEmptyBlock: false
|
||||||
# SpaceInEmptyParentheses: false
|
# SpaceInEmptyParentheses: false
|
||||||
# SpacesBeforeTrailingComments: 2
|
# SpacesBeforeTrailingComments: 2
|
||||||
# SpacesInAngles: false
|
# SpacesInAngles: false
|
||||||
# SpacesInContainerLiterals: true
|
|
||||||
# SpacesInCStyleCastParentheses: false
|
# SpacesInCStyleCastParentheses: false
|
||||||
|
# SpacesInContainerLiterals: true
|
||||||
# SpacesInParentheses: false
|
# SpacesInParentheses: false
|
||||||
# SpacesInSquareBrackets: false
|
# SpacesInSquareBrackets: false
|
||||||
Standard: Cpp11
|
Standard: Latest
|
||||||
|
# StatementMacros:
|
||||||
|
# - Q_UNUSED
|
||||||
|
# - QT_REQUIRE_VERSION
|
||||||
# TabWidth: 8
|
# TabWidth: 8
|
||||||
# UseTab: Never
|
# UseTab: Never
|
||||||
...
|
# ...
|
||||||
|
Reference in New Issue
Block a user