add more docstring examples, restructure files
This commit is contained in:
parent
4a1c0adff2
commit
2afa3e36c2
9 changed files with 145 additions and 17 deletions
27
cpp/.clang-format
Normal file
27
cpp/.clang-format
Normal file
|
@ -0,0 +1,27 @@
|
|||
# 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
|
||||
AlignEscapedNewlines: Left
|
||||
AlignTrailingComments: true
|
||||
IndentWrappedFunctionNames: false
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
|
||||
SpacesBeforeTrailingComments: 2
|
||||
FixNamespaceComments: true
|
||||
ReflowComments: false
|
||||
|
||||
SortIncludes: false
|
||||
SortUsingDeclarations: false
|
Loading…
Add table
Add a link
Reference in a new issue