Resolve build failure due to inttypes.h inclusion in hrctimer.h
[charm.git] / .clang-format
blobbc2ca1d23d4e041c1ce6ec7e29fd9a453c60ca88
1 ---
2 Language:        Cpp
3 # BasedOnStyle:  Google
4 AccessModifierOffset: -1
5 AlignAfterOpenBracket: true
6 AlignEscapedNewlinesLeft: true
7 AlignOperands:   true
8 AlignTrailingComments: true
9 AllowAllParametersOfDeclarationOnNextLine: true
10 AllowShortBlocksOnASingleLine: false
11 AllowShortCaseLabelsOnASingleLine: false
12 AllowShortIfStatementsOnASingleLine: true
13 AllowShortLoopsOnASingleLine: true
14 AllowShortFunctionsOnASingleLine: All
15 AlwaysBreakAfterDefinitionReturnType: false
16 AlwaysBreakTemplateDeclarations: true
17 AlwaysBreakBeforeMultilineStrings: true
18 BreakBeforeBinaryOperators: None
19 BreakBeforeTernaryOperators: true
20 BreakConstructorInitializersBeforeComma: false
21 BinPackParameters: true
22 BinPackArguments: true
23 ColumnLimit:     90
24 ConstructorInitializerAllOnOneLineOrOnePerLine: true
25 ConstructorInitializerIndentWidth: 4
26 DerivePointerAlignment: false
27 ExperimentalAutoDetectBinPacking: false
28 IndentCaseLabels: true
29 IndentWrappedFunctionNames: false
30 IndentFunctionDeclarationAfterType: false
31 MaxEmptyLinesToKeep: 1
32 KeepEmptyLinesAtTheStartOfBlocks: false
33 NamespaceIndentation: None
34 ObjCBlockIndentWidth: 2
35 ObjCSpaceAfterProperty: false
36 ObjCSpaceBeforeProtocolList: false
37 PenaltyBreakBeforeFirstCallParameter: 1
38 PenaltyBreakComment: 300
39 PenaltyBreakString: 1000
40 PenaltyBreakFirstLessLess: 120
41 PenaltyExcessCharacter: 1000000
42 PenaltyReturnTypeOnItsOwnLine: 200
43 PointerAlignment: Left
44 SpacesBeforeTrailingComments: 2
45 Cpp11BracedListStyle: true
46 Standard:        Auto
47 IndentWidth:     2
48 TabWidth:        8
49 UseTab:          Never
50 BreakBeforeBraces: Allman
51 SpacesInParentheses: false
52 SpacesInSquareBrackets: false
53 SpacesInAngles:  false
54 SpaceInEmptyParentheses: false
55 SpacesInCStyleCastParentheses: false
56 SpaceAfterCStyleCast: false
57 SpacesInContainerLiterals: true
58 SpaceBeforeAssignmentOperators: true
59 ContinuationIndentWidth: 4
60 CommentPragmas:  '^ IWYU pragma:'
61 ForEachMacros:   [ foreach, Q_FOREACH, BOOST_FOREACH ]
62 SpaceBeforeParens: ControlStatements
63 DisableFormat:   false
64 ...