mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 06:34:36 +00:00
tentative clang-format
This commit is contained in:
parent
f81e089260
commit
20d67a1bc8
18
.clang-format
Normal file
18
.clang-format
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Empirical format config, based on observed style guide
|
||||||
|
# Use this only as an help to fit the surrounding code style - don't reformat whole files at once
|
||||||
|
---
|
||||||
|
BasedOnStyle: LLVM
|
||||||
|
AllowShortIfStatementsOnASingleLine: WithoutElse
|
||||||
|
AllowShortLoopsOnASingleLine: true
|
||||||
|
AlwaysBreakTemplateDeclarations: Yes
|
||||||
|
BreakBeforeBraces: Allman
|
||||||
|
BreakConstructorInitializers: BeforeComma
|
||||||
|
BreakStringLiterals: false
|
||||||
|
ColumnLimit: 120
|
||||||
|
FixNamespaceComments: false
|
||||||
|
IndentPPDirectives: AfterHash
|
||||||
|
IndentWidth: 4
|
||||||
|
PointerAlignment: Left
|
||||||
|
SpaceBeforeParens: Never
|
||||||
|
SpacesInParentheses: true
|
||||||
|
TabWidth: 4
|
Loading…
Reference in New Issue
Block a user