working
This commit is contained in:
parent
54efe25a24
commit
bbbcfb97f5
9 changed files with 155 additions and 131 deletions
21
.clang-format
Normal file
21
.clang-format
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
# $Id: .clang-format 567 2025-11-02 00:00:24Z nishi $
|
||||
Language: Cpp
|
||||
UseTab: Always
|
||||
TabWidth: 8
|
||||
AlignConsecutiveAssignments:
|
||||
Enabled: true
|
||||
AlignConsecutiveDeclarations:
|
||||
Enabled: true
|
||||
IndentWidth: 8
|
||||
PointerAlignment: Left
|
||||
ColumnLimit: 0
|
||||
AllowShortIfStatementsOnASingleLine: Always
|
||||
AllowShortBlocksOnASingleLine: Never
|
||||
AllowShortFunctionsOnASingleLine: Empty
|
||||
AllowShortLoopsOnASingleLine: true
|
||||
SpaceBeforeParens: Never
|
||||
AlignEscapedNewlines: DontAlign
|
||||
SortIncludes: false
|
||||
AllowShortEnumsOnASingleLine: false
|
||||
#IndentPPDirectives: AfterHash
|
||||
3
format.sh
Executable file
3
format.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
DIRS="include milkwm mdm mpanel"
|
||||
clang-format --verbose -i `find $DIRS -name "*.c" -or -name "*.h"`
|
||||
Loading…
Add table
Add a link
Reference in a new issue