mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-22 01:40:12 +00:00
af9b4c146c
These are the updates: AlignConsecutiveDeclarations: false - the dominant style in libabigail is not to align AllowShortBlocksOnASingleLine: Always AllowShortEnumsOnASingleLine: true AllowShortFunctionsOnASingleLine: All AllowShortLambdasOnASingleLine: All - the libabigail style favours short things on a single line Cpp11BracedListStyle: true - this seems to improve some initialiser syntax BinPackArguments: false - we already turn this off for parameters SpaceAfterCStyleCast: true - this is the libabigail style * .clang-format: Various tweaks to Clang format configuration. Signed-off-by: Giuliano Procida <gprocida@google.com>
28 lines
779 B
YAML
28 lines
779 B
YAML
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
---
|
|
BasedOnStyle: GNU
|
|
Standard: c++11
|
|
AlignConsecutiveDeclarations: false
|
|
AllowShortBlocksOnASingleLine: Always
|
|
AllowShortEnumsOnASingleLine: true
|
|
AllowShortFunctionsOnASingleLine: All
|
|
AllowShortLambdasOnASingleLine: All
|
|
AlwaysBreakAfterReturnType: All
|
|
BreakConstructorInitializers: BeforeColon
|
|
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
ConstructorInitializerIndentWidth: 2
|
|
Cpp11BracedListStyle: true
|
|
IndentWidth: 2
|
|
AlignAfterOpenBracket: Align
|
|
BinPackArguments: false
|
|
BinPackParameters: false
|
|
BreakStringLiterals: false
|
|
PointerAlignment: Left
|
|
SortUsingDeclarations: false
|
|
SpaceAfterCStyleCast: true
|
|
SpaceBeforeParens: ControlStatements
|
|
TabWidth: 8
|
|
UseTab: Always
|
|
BreakBeforeBinaryOperators: NonAssignment
|
|
---
|