mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
ide: clang-format integration
This commit is contained in:
parent
87034d3fe0
commit
2e77d71f12
19 changed files with 698 additions and 90 deletions
24
.clang-format
Normal file
24
.clang-format
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# .clang-format file for U++ framework
|
||||
|
||||
---
|
||||
BasedOnStyle: LLVM
|
||||
UseTab: AlignWithSpaces
|
||||
IndentWidth: 4
|
||||
TabWidth: 4
|
||||
ColumnLimit: 96
|
||||
---
|
||||
Language: Cpp
|
||||
AccessModifierOffset: -4
|
||||
AllowShortFunctionsOnASingleLine: All
|
||||
AlwaysBreakTemplateDeclarations: true
|
||||
BreakBeforeBraces: Stroustrup
|
||||
BreakConstructorInitializers: BeforeComma
|
||||
CompactNamespaces: true
|
||||
DerivePointerAlignment: false
|
||||
IfMacros: ['ONCELOCK']
|
||||
PointerAlignment: Left
|
||||
SpaceBeforeParens: Custom
|
||||
SpaceBeforeParensOptions:
|
||||
AfterControlStatements: false
|
||||
IndentAccessModifiers: false
|
||||
IndentPPDirectives: None
|
||||
Loading…
Add table
Add a link
Reference in a new issue