templates-project_setup/cpp/.clang-format

29 lines
645 B
Plaintext
Raw Normal View History

2020-04-07 12:38:31 +00:00
# C/C++ Coding Style for generic Projects
# UseTab: (VS Code current setting)
BasedOnStyle: LLVM
Language: Cpp
IndentWidth: 2
ColumnLimit: 110
BreakBeforeBraces: Attach
PointerAlignment: Left
AccessModifierOffset: -2
#IndentPPDirectives: AfterHash
Cpp11BracedListStyle: true
AlignConsecutiveDeclarations: true
AlignConsecutiveAssignments: true
2021-05-12 14:31:42 +00:00
AlignConsecutiveMacros: Consecutive
2020-04-07 12:38:31 +00:00
AlignEscapedNewlines: Left
AlignTrailingComments: true
IndentWrappedFunctionNames: false
AllowShortFunctionsOnASingleLine: Inline
SpacesBeforeTrailingComments: 2
FixNamespaceComments: true
ReflowComments: false
SortIncludes: false
SortUsingDeclarations: false