blob: 6052b785f1c1ddff6a98dd4958fcb0ebf73885c0 [file] [log] [blame]
Kristofer Jonsson43ce4912020-11-20 09:42:53 +01001#
2# Copyright (c) 2020 Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6# Licensed under the Apache License, Version 2.0 (the License); you may
7# not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an AS IS BASIS, WITHOUT
14# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18
19---
20Language: Cpp
21BasedOnStyle: LLVM
22IndentWidth: 4
23ColumnLimit: 120
24AccessModifierOffset: -4
25PointerAlignment: Right
26
27AlignAfterOpenBracket: Align
28AlignConsecutiveAssignments: true
29AlignConsecutiveMacros: true
30AlignEscapedNewlines: Left
31AlignTrailingComments: true
32
33AllowAllParametersOfDeclarationOnNextLine: false
34AllowShortFunctionsOnASingleLine: Empty
35AllowShortBlocksOnASingleLine: true
36AlwaysBreakTemplateDeclarations: true
37
38BinPackArguments: false
39BinPackParameters: false
40
41BreakInheritanceList: AfterColon
42BreakConstructorInitializers: AfterColon
43BreakBeforeBraces: Custom
44
45BraceWrapping:
46 AfterClass: false
47 AfterControlStatement: false
48 AfterEnum: false
49 AfterFunction: false
50 AfterNamespace: false
51 AfterObjCDeclaration: true
52 AfterStruct: false
53 AfterUnion: false
54 AfterExternBlock: false
55 BeforeCatch: false
56 BeforeElse: false
57 IndentBraces: false
58 SplitEmptyFunction: false
59 SplitEmptyRecord: false
60 SplitEmptyNamespace: true
61---