Remove dependence on t_mdatoms from pull code
[gromacs.git] / .clang-format
blob600e45a53206ca793f299f4de7d3c2710ca61528
1 ---
2 Language:        Cpp
3 AccessModifierOffset: -4
4 AlignAfterOpenBracket: Align
5 AlignConsecutiveAssignments: true
6 AlignConsecutiveDeclarations: true
7 AlignEscapedNewlinesLeft: true
8 AlignOperands:   true
9 AlignTrailingComments: true
10 AllowAllParametersOfDeclarationOnNextLine: false
11 AllowShortBlocksOnASingleLine: true
12 AllowShortCaseLabelsOnASingleLine: true
13 AllowShortFunctionsOnASingleLine: Inline
14 AllowShortIfStatementsOnASingleLine: false
15 AllowShortLoopsOnASingleLine: false
16 AlwaysBreakAfterDefinitionReturnType: None
17 AlwaysBreakAfterReturnType: None
18 AlwaysBreakBeforeMultilineStrings: true
19 AlwaysBreakTemplateDeclarations: true
20 BinPackArguments: true
21 BinPackParameters: false
22 BraceWrapping:
23   AfterClass:      true
24   AfterControlStatement: true
25   AfterEnum:       true
26   AfterFunction:   true
27   AfterNamespace:  true
28   AfterObjCDeclaration: true
29   AfterStruct:     true
30   AfterUnion:      true
31   BeforeCatch:     true
32   BeforeElse:      true
33   IndentBraces:    false
34 BreakBeforeBinaryOperators: NonAssignment
35 BreakBeforeBraces: Allman
36 BreakBeforeTernaryOperators: true
37 BreakConstructorInitializers: AfterColon
38 BreakAfterJavaFieldAnnotations: false
39 BreakInheritanceList: AfterColon
40 BreakStringLiterals: true
41 ColumnLimit:     100
42 CommentPragmas:  '^ IWYU pragma:|NOLINT'
43 ConstructorInitializerAllOnOneLineOrOnePerLine: true
44 ConstructorInitializerIndentWidth: 4
45 ContinuationIndentWidth: 8
46 Cpp11BracedListStyle: false
47 DerivePointerAlignment: false
48 DisableFormat:   false
49 ExperimentalAutoDetectBinPacking: false
50 FixNamespaceComments: true
51 ForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
52 IncludeCategories:
53   - Regex:           '^<.*\.h>'
54     Priority:        1
55   - Regex:           '^<.*'
56     Priority:        2
57   - Regex:           '.*'
58     Priority:        3
59 IncludeIsMainRegex: '([-_](test|unittest))?$'
60 IndentPPDirectives: AfterHash
61 IndentCaseLabels: true
62 IndentWidth:     4
63 IndentWrappedFunctionNames: false
64 JavaScriptQuotes: Leave
65 JavaScriptWrapImports: true
66 KeepEmptyLinesAtTheStartOfBlocks: true
67 MacroBlockBegin: ''
68 MacroBlockEnd:   ''
69 MaxEmptyLinesToKeep: 2
70 NamespaceIndentation: None
71 ObjCBlockIndentWidth: 2
72 ObjCSpaceAfterProperty: false
73 ObjCSpaceBeforeProtocolList: false
74 PenaltyBreakBeforeFirstCallParameter: 1
75 PenaltyBreakComment: 300
76 PenaltyBreakFirstLessLess: 120
77 PenaltyBreakString: 1000
78 PenaltyExcessCharacter: 2
79 PenaltyReturnTypeOnItsOwnLine: 100
80 PointerAlignment: Left
81 ReflowComments:  true
82 SortIncludes:    false
83 SortUsingDeclarations: true
84 SpaceAfterCStyleCast: false
85 SpaceBeforeAssignmentOperators: true
86 SpaceBeforeParens: ControlStatements
87 SpaceInEmptyParentheses: false
88 SpacesBeforeTrailingComments: 1
89 SpacesInAngles:  false
90 SpaceAfterTemplateKeyword: false
91 SpacesInContainerLiterals: false
92 SpacesInCStyleCastParentheses: false
93 SpacesInParentheses: false
94 SpacesInSquareBrackets: false
95 Standard:        Cpp11
96 TabWidth:        8
97 UseTab:          Never
98 ...