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