2023-11-21 12:46:06 +01:00
|
|
|
# NB: whenever the present file is modified, the same modification should be
|
|
|
|
# applied to the copy in preprocessor.git
|
|
|
|
|
2023-11-29 13:11:41 +01:00
|
|
|
# For general information about our coding style, and the specific version
|
|
|
|
# of clang-format used, see:
|
|
|
|
# https://git.dynare.org/Dynare/dynare/-/wikis/CodingGuidelines#c-code
|
|
|
|
# For the list of options of clang-format, see:
|
|
|
|
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
2023-11-21 12:46:06 +01:00
|
|
|
# Effective configuration can be obtained with:
|
|
|
|
# clang-format --dump-config
|
|
|
|
Language: Cpp
|
|
|
|
Standard: c++20
|
|
|
|
ColumnLimit: 100
|
|
|
|
BasedOnStyle: GNU
|
2023-11-29 18:19:16 +01:00
|
|
|
AllowShortFunctionsOnASingleLine: None
|
2023-11-21 12:46:06 +01:00
|
|
|
AlwaysBreakTemplateDeclarations: Yes
|
|
|
|
BreakConstructorInitializers: AfterColon
|
|
|
|
BreakInheritanceList: AfterColon
|
|
|
|
Cpp11BracedListStyle: true
|
|
|
|
DeriveLineEnding: false
|
|
|
|
IndentPPDirectives: AfterHash
|
2023-11-30 14:37:05 +01:00
|
|
|
PackConstructorInitializers: NextLine
|
2023-11-21 12:46:06 +01:00
|
|
|
PPIndentWidth: 1
|
|
|
|
PointerAlignment: Left
|
|
|
|
SpaceAfterTemplateKeyword: false
|
|
|
|
SpaceBeforeParens: ControlStatements
|
|
|
|
SpaceBeforeCpp11BracedList: true
|