24 lines
812 B
YAML
24 lines
812 B
YAML
# NB: whenever the present file is modified, the same modification should be
|
|
# applied to the copy in preprocessor.git
|
|
|
|
# For the list of options (clang-format 14, present in Debian “bookworm” 12), see:
|
|
# https://releases.llvm.org/14.0.0/tools/clang/docs/ClangFormatStyleOptions.html
|
|
# Effective configuration can be obtained with:
|
|
# clang-format --dump-config
|
|
Language: Cpp
|
|
Standard: c++20
|
|
ColumnLimit: 100
|
|
BasedOnStyle: GNU
|
|
AllowShortFunctionsOnASingleLine: InlineOnly
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
BreakConstructorInitializers: AfterColon
|
|
BreakInheritanceList: AfterColon
|
|
Cpp11BracedListStyle: true
|
|
DeriveLineEnding: false
|
|
IndentPPDirectives: AfterHash
|
|
PPIndentWidth: 1
|
|
PointerAlignment: Left
|
|
SpaceAfterTemplateKeyword: false
|
|
SpaceBeforeParens: ControlStatements
|
|
SpaceBeforeCpp11BracedList: true
|