blob: 3a5940ef65bf1e40df9511da805a7a0440184e84 [file] [log] [blame]
Haibo Huang9d58f792019-05-02 22:35:15 -07001---
2Language: Cpp
3# BasedOnStyle: LLVM
4AccessModifierOffset: -2
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlinesLeft: false
9AlignOperands: true
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: All
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
17AlwaysBreakAfterDefinitionReturnType: None
18AlwaysBreakAfterReturnType: None
19AlwaysBreakBeforeMultilineStrings: false
20AlwaysBreakTemplateDeclarations: false
21BinPackArguments: true
22BinPackParameters: true
23BraceWrapping:
24 AfterClass: false
25 AfterControlStatement: false
26 AfterEnum: false
27 AfterFunction: false
28 AfterNamespace: false
29 AfterObjCDeclaration: false
30 AfterStruct: false
31 AfterUnion: false
32 BeforeCatch: false
33 BeforeElse: false
34 IndentBraces: false
35BreakBeforeBinaryOperators: None
36BreakBeforeBraces: Attach
37BreakBeforeTernaryOperators: true
38BreakConstructorInitializersBeforeComma: false
39ColumnLimit: 80
40CommentPragmas: '^ IWYU pragma:'
41ConstructorInitializerAllOnOneLineOrOnePerLine: false
42ConstructorInitializerIndentWidth: 4
43ContinuationIndentWidth: 4
44Cpp11BracedListStyle: true
45DerivePointerAlignment: false
46DisableFormat: false
47ExperimentalAutoDetectBinPacking: false
48ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
49IncludeCategories:
50 - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
51 Priority: 2
52 - Regex: '^(<|"(gtest|isl|json)/)'
53 Priority: 3
54 - Regex: '.*'
55 Priority: 1
56IndentCaseLabels: false
57IndentWidth: 2
58IndentWrappedFunctionNames: false
59KeepEmptyLinesAtTheStartOfBlocks: true
60MacroBlockBegin: ''
61MacroBlockEnd: ''
62MaxEmptyLinesToKeep: 1
63NamespaceIndentation: None
64ObjCBlockIndentWidth: 2
65ObjCSpaceAfterProperty: false
66ObjCSpaceBeforeProtocolList: true
67PenaltyBreakBeforeFirstCallParameter: 19
68PenaltyBreakComment: 300
69PenaltyBreakFirstLessLess: 120
70PenaltyBreakString: 1000
71PenaltyExcessCharacter: 1000000
72PenaltyReturnTypeOnItsOwnLine: 60
73PointerAlignment: Right
74ReflowComments: true
75SortIncludes: true
76SpaceAfterCStyleCast: false
77SpaceBeforeAssignmentOperators: true
78SpaceBeforeParens: ControlStatements
79SpaceInEmptyParentheses: false
80SpacesBeforeTrailingComments: 1
81SpacesInAngles: false
82SpacesInContainerLiterals: true
83SpacesInCStyleCastParentheses: false
84SpacesInParentheses: false
85SpacesInSquareBrackets: false
86Standard: Cpp11
87TabWidth: 8
88UseTab: Never
89...
90