project-aster/.clang-format

27 lines
833 B
YAML

# Commented out parameters are those with the same value as base LLVM style.
# We can uncomment them if we want to change their value, or enforce the
# chosen value in case the base style changes (last sync: Clang 14.0).
---
### General config, applies to all languages ###
BasedOnStyle: Microsoft
#AccessModifierOffset: -2
AlwaysBreakAfterReturnType: AllDefinitions
BreakConstructorInitializers: BeforeComma
#ColumnLimit: 0
#ConstructorInitializerIndentWidth: 4
#ConstructorInitializerAllOnOneLineOrOnePerLine: true
AlwaysBreakTemplateDeclarations: Yes
IncludeCategories:
- Regex: '".*"'
Priority: 1
- Regex: '^<.*\.h>'
Priority: 2
- Regex: '^<.*'
Priority: 3
#IndentCaseLabels: true
IndentWidth: 4
#KeepEmptyLinesAtTheStartOfBlocks: false
PenaltyReturnTypeOnItsOwnLine: 0
TabWidth: 4
Language: Cpp
Standard: c++20