blob: 4fb95466896aebfcb805e382726d29c865718d83 [file] [log] [blame]
Justin Woodc9bbb252020-03-03 10:03:58 -08001---
2Language: Cpp
Rob Walker6f431212020-03-13 11:56:19 -07003# BasedOnStyle: WebKit
4AccessModifierOffset: -4
5AlignAfterOpenBracket: Align
6AlignConsecutiveAssignments: true
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlines: Right
9AlignOperands: false
10AlignTrailingComments: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: Inline
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
17AlwaysBreakAfterDefinitionReturnType: None
18AlwaysBreakAfterReturnType: None
19AlwaysBreakBeforeMultilineStrings: false
20AlwaysBreakTemplateDeclarations: true
21BinPackArguments: true
22BinPackParameters: true
23BraceWrapping:
24 AfterClass: true
25 AfterControlStatement: true
26 AfterEnum: true
27 AfterFunction: true
28 AfterNamespace: false
29 AfterObjCDeclaration: true
30 AfterStruct: true
31 AfterUnion: true
32 BeforeCatch: false
33 BeforeElse: true
34 IndentBraces: false
35 SplitEmptyFunction: false
36 SplitEmptyRecord: true
37 SplitEmptyNamespace: true
38BreakBeforeBinaryOperators: None
39BreakBeforeBraces: Custom
40BreakBeforeInheritanceComma: false
41BreakBeforeTernaryOperators: true
42BreakConstructorInitializersBeforeComma: false
43BreakConstructorInitializers: AfterColon
44BreakAfterJavaFieldAnnotations: false
45BreakStringLiterals: true
46ColumnLimit: 132
47CommentPragmas: '^ IWYU pragma:'
48CompactNamespaces: false
49ConstructorInitializerAllOnOneLineOrOnePerLine: false
50ConstructorInitializerIndentWidth: 4
51ContinuationIndentWidth: 4
52Cpp11BracedListStyle: false
53DerivePointerAlignment: false
54DisableFormat: false
55ExperimentalAutoDetectBinPacking: false
56FixNamespaceComments: true
57ForEachMacros:
58 - foreach
59 - Q_FOREACH
60 - BOOST_FOREACH
61IncludeCategories:
62 - Regex: '^<Weave/Core.*'
63 Priority: 0
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
72IndentWidth: 4
73IndentWrappedFunctionNames: false
74JavaScriptQuotes: Leave
75JavaScriptWrapImports: true
76KeepEmptyLinesAtTheStartOfBlocks: true
77MacroBlockBegin: ''
78MacroBlockEnd: ''
79MaxEmptyLinesToKeep: 1
80NamespaceIndentation: None
81ObjCBlockIndentWidth: 4
82ObjCSpaceAfterProperty: true
83ObjCSpaceBeforeProtocolList: true
84PenaltyBreakAssignment: 2
85PenaltyBreakBeforeFirstCallParameter: 19
86PenaltyBreakComment: 300
87PenaltyBreakFirstLessLess: 120
88PenaltyBreakString: 1000
89PenaltyExcessCharacter: 1000000
90PenaltyReturnTypeOnItsOwnLine: 60
91PointerAlignment: Middle
92ReflowComments: true
Rob Walkerdc264b12020-05-19 17:11:14 -070093SortIncludes: true
Rob Walker6f431212020-03-13 11:56:19 -070094SortUsingDeclarations: true
95SpaceAfterCStyleCast: true
96SpaceAfterTemplateKeyword: true
97SpaceBeforeAssignmentOperators: true
98SpaceBeforeParens: ControlStatements
99SpaceInEmptyParentheses: false
100SpacesBeforeTrailingComments: 1
101SpacesInAngles: false
102SpacesInContainerLiterals: true
103SpacesInCStyleCastParentheses: false
104SpacesInParentheses: false
105SpacesInSquareBrackets: false
106Standard: Cpp11
107TabWidth: 8
108UseTab: Never
Amine Alami33bfb4e2024-04-29 17:05:36 +0200109InsertNewlineAtEOF: true
Justin Woodc9bbb252020-03-03 10:03:58 -0800110---
Karsten Sperlingf299acb2023-09-27 15:39:32 +1300111Language: ObjC
112BasedOnStyle: WebKit
113Standard: c++17
Rob Walker6f431212020-03-13 11:56:19 -0700114PointerAlignment: Middle
Rob Walker6f431212020-03-13 11:56:19 -0700115SpaceAfterCStyleCast: true
Karsten Sperlingf299acb2023-09-27 15:39:32 +1300116SpaceInEmptyBlock: false
117ObjCBreakBeforeNestedBlockParam: false
Vivien Nicolasaa2eb3e2020-11-07 04:17:27 +0100118---
119Language: JavaScript
Vivien Nicolas252b0942020-12-04 17:35:21 +0100120BasedOnStyle: WebKit
121AlignConsecutiveAssignments: true
122AllowShortFunctionsOnASingleLine: None
123IndentWidth: 2
Vivien Nicolasaa2eb3e2020-11-07 04:17:27 +0100124ColumnLimit: 132
Justin Woodc9bbb252020-03-03 10:03:58 -0800125...