source: git/ppcc/.clang-format @ 662704

fieker-DuValspielwiese
Last change on this file since 662704 was 1edbe2f, checked in by Hans Schoenemann <hannes@…>, 5 years ago
format
  • Property mode set to 100644
File size: 3.2 KB
Line 
1---
2Language:        Cpp
3# BasedOnStyle:  WebKit
4AccessModifierOffset: -2
5AlignAfterOpenBracket: DontAlign
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlines: DontAlign
9AlignOperands:   false
10AlignTrailingComments: false
11AllowAllParametersOfDeclarationOnNextLine: false
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: None
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
17AlwaysBreakAfterDefinitionReturnType: None
18AlwaysBreakAfterReturnType: None
19AlwaysBreakBeforeMultilineStrings: false
20AlwaysBreakTemplateDeclarations: true
21BinPackArguments: true
22BinPackParameters: true
23BraceWrapping:
24  AfterClass:      false
25  AfterControlStatement: false
26  AfterEnum:       false
27  AfterFunction:   true
28  AfterNamespace:  false
29  AfterObjCDeclaration: false
30  AfterStruct:     false
31  AfterUnion:      false
32  AfterExternBlock: false
33  BeforeCatch:     false
34  BeforeElse:      false
35  IndentBraces:    false
36  SplitEmptyFunction: true
37  SplitEmptyRecord: true
38  SplitEmptyNamespace: true
39BreakBeforeBinaryOperators: All
40BreakBeforeBraces: Attach
41BreakBeforeInheritanceComma: false
42BreakBeforeTernaryOperators: true
43BreakConstructorInitializersBeforeComma: false
44BreakConstructorInitializers: BeforeComma
45BreakAfterJavaFieldAnnotations: false
46BreakStringLiterals: true
47ColumnLimit:     78
48CommentPragmas:  '^ IWYU pragma:'
49CompactNamespaces: false
50ConstructorInitializerAllOnOneLineOrOnePerLine: false
51ConstructorInitializerIndentWidth: 4
52ContinuationIndentWidth: 4
53Cpp11BracedListStyle: false
54DerivePointerAlignment: false
55DisableFormat:   false
56ExperimentalAutoDetectBinPacking: false
57FixNamespaceComments: false
58ForEachMacros:
59  - foreach
60  - Q_FOREACH
61  - BOOST_FOREACH
62IncludeCategories:
63  - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
64    Priority:        2
65  - Regex:           '^(<|"(gtest|gmock|isl|json)/)'
66    Priority:        3
67  - Regex:           '.*'
68    Priority:        1
69IncludeIsMainRegex: '(Test)?$'
70IndentCaseLabels: false
71IndentPPDirectives: None
72IndentWidth:     2
73IndentWrappedFunctionNames: false
74JavaScriptQuotes: Leave
75JavaScriptWrapImports: true
76KeepEmptyLinesAtTheStartOfBlocks: true
77MacroBlockBegin: ''
78MacroBlockEnd:   ''
79MaxEmptyLinesToKeep: 1
80NamespaceIndentation: Inner
81ObjCBlockIndentWidth: 4
82ObjCSpaceAfterProperty: true
83ObjCSpaceBeforeProtocolList: true
84PenaltyBreakAssignment: 2
85PenaltyBreakBeforeFirstCallParameter: 19
86PenaltyBreakComment: 300
87PenaltyBreakFirstLessLess: 120
88PenaltyBreakString: 1000
89PenaltyExcessCharacter: 1000000
90PenaltyReturnTypeOnItsOwnLine: 60
91PointerAlignment: Right
92RawStringFormats:
93  - Delimiter:       pb
94    Language:        TextProto
95    BasedOnStyle:    google
96ReflowComments:  false
97SortIncludes:    false
98SortUsingDeclarations: true
99SpaceAfterCStyleCast: true
100SpaceAfterTemplateKeyword: true
101SpaceBeforeAssignmentOperators: true
102SpaceBeforeParens: ControlStatements
103SpaceInEmptyParentheses: false
104SpacesBeforeTrailingComments: 1
105SpacesInAngles:  false
106SpacesInContainerLiterals: true
107SpacesInCStyleCastParentheses: false
108SpacesInParentheses: false
109SpacesInSquareBrackets: false
110Standard:        Cpp03
111TabWidth:        8
112UseTab:          Never
113...
114
Note: See TracBrowser for help on using the repository browser.