5 changed files with 124 additions and 11 deletions
@ -0,0 +1,116 @@
|
||||
--- |
||||
Language: Cpp |
||||
# BasedOnStyle: LLVM |
||||
AccessModifierOffset: 1 |
||||
AlignAfterOpenBracket: Align |
||||
AlignConsecutiveAssignments: false |
||||
AlignConsecutiveDeclarations: false |
||||
AlignEscapedNewlines: Left |
||||
AlignOperands: true |
||||
AlignTrailingComments: true |
||||
AllowAllParametersOfDeclarationOnNextLine: false |
||||
AllowShortBlocksOnASingleLine: true |
||||
AllowShortCaseLabelsOnASingleLine: false |
||||
AllowShortFunctionsOnASingleLine: Inline |
||||
AllowShortIfStatementsOnASingleLine: true |
||||
AllowShortLoopsOnASingleLine: true |
||||
AlwaysBreakAfterReturnType: None |
||||
AlwaysBreakBeforeMultilineStrings: true |
||||
AlwaysBreakTemplateDeclarations: true |
||||
BinPackArguments: true |
||||
BinPackParameters: true |
||||
BreakBeforeBraces: Custom |
||||
BraceWrapping: |
||||
AfterClass: true |
||||
AfterControlStatement: true |
||||
AfterEnum: true |
||||
AfterFunction: true |
||||
AfterNamespace: true |
||||
AfterStruct: true |
||||
AfterUnion: true |
||||
AfterExternBlock: false |
||||
BeforeCatch: true |
||||
BeforeElse: true |
||||
IndentBraces: false |
||||
SplitEmptyFunction: false |
||||
SplitEmptyRecord: false |
||||
SplitEmptyNamespace: false |
||||
BreakBeforeBinaryOperators: None |
||||
BreakBeforeInheritanceComma: false |
||||
BreakBeforeTernaryOperators: false |
||||
BreakConstructorInitializersBeforeComma: false |
||||
BreakConstructorInitializers: AfterColon |
||||
BreakStringLiterals: true |
||||
ColumnLimit: 120 |
||||
CommentPragmas: '^ IWYU pragma:' |
||||
CompactNamespaces: false |
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: false |
||||
ConstructorInitializerIndentWidth: 4 |
||||
ContinuationIndentWidth: 4 |
||||
Cpp11BracedListStyle: false |
||||
DerivePointerAlignment: false |
||||
DisableFormat: false |
||||
ExperimentalAutoDetectBinPacking: false |
||||
FixNamespaceComments: true |
||||
ForEachMacros: |
||||
- foreach |
||||
- Q_FOREACH |
||||
- BOOST_FOREACH |
||||
IncludeBlocks: Regroup |
||||
IncludeCategories: |
||||
- Regex: '^<(sys|arpa|net|netinet)/.*\.h>' |
||||
Priority: 4 |
||||
- Regex: '^<yc/.*\.h>' |
||||
Priority: -1 |
||||
- Regex: '^".*/.*/.*\.h"' |
||||
Priority: 2 |
||||
- Regex: '^".*/.*\.h"' |
||||
Priority: 1 |
||||
- Regex: '^".*\.h"' |
||||
Priority: 0 |
||||
- Regex: '^<.*/.*\.h>' |
||||
Priority: 3 |
||||
- Regex: '^<.*\.h>' |
||||
Priority: 5 |
||||
- Regex: '^<.*>' |
||||
Priority: 6 |
||||
IncludeIsMainRegex: '(Test)?$' |
||||
IndentCaseLabels: true |
||||
IndentPPDirectives: AfterHash |
||||
IndentWidth: 4 |
||||
IndentWrappedFunctionNames: false |
||||
KeepEmptyLinesAtTheStartOfBlocks: false |
||||
MacroBlockBegin: '' |
||||
MacroBlockEnd: '' |
||||
MaxEmptyLinesToKeep: 1 |
||||
NamespaceIndentation: None |
||||
PenaltyBreakAssignment: 2 |
||||
PenaltyBreakBeforeFirstCallParameter: 19 |
||||
PenaltyBreakComment: 300 |
||||
PenaltyBreakFirstLessLess: 120 |
||||
PenaltyBreakString: 1000 |
||||
PenaltyExcessCharacter: 1000000 |
||||
PenaltyReturnTypeOnItsOwnLine: 60 |
||||
PointerAlignment: Left |
||||
ReflowComments: true |
||||
SortIncludes: true |
||||
SortUsingDeclarations: true |
||||
SpaceAfterCStyleCast: true |
||||
SpaceAfterTemplateKeyword: false |
||||
SpaceBeforeAssignmentOperators: true |
||||
#SpaceBeforeCtorInitializerColon: true |
||||
#SpaceBeforeInheritanceColon: true |
||||
SpaceBeforeParens: ControlStatements |
||||
#SpaceBeforeRangeBasedForLoopColon: true |
||||
SpaceInEmptyParentheses: false |
||||
SpacesBeforeTrailingComments: 2 |
||||
SpacesInAngles: false |
||||
SpacesInContainerLiterals: true |
||||
SpacesInCStyleCastParentheses: false |
||||
SpacesInParentheses: false |
||||
SpacesInSquareBrackets: false |
||||
Standard: Cpp11 |
||||
TabWidth: 4 |
||||
UseTab: ForIndentation |
||||
... |
||||
|
@ -0,0 +1,8 @@
|
||||
[diff] |
||||
submodule = log |
||||
[merge] |
||||
ff = false |
||||
[pull] |
||||
rebase = true |
||||
[alias] |
||||
root = !pwd |
Loading…
Reference in new issue