mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
clang-format.
This commit is contained in:
parent
a8c5bd9a38
commit
9049a1a511
@ -618,8 +618,7 @@ typedef struct {
|
||||
} lib_symbol;
|
||||
|
||||
#define lib_nelems(x) (sizeof(x) / sizeof((x)[0]))
|
||||
#define lib_symbol_def(name) \
|
||||
{ #name, (void **)&name }
|
||||
#define lib_symbol_def(name) {#name, (void **)&name}
|
||||
|
||||
static const lib_symbol lib_symbols_kperf[] = {
|
||||
lib_symbol_def(kpc_pmu_version),
|
||||
|
||||
7
format.cmd
Normal file
7
format.cmd
Normal file
@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
echo Formatting with config...
|
||||
for /R ".\" %%f in (*.cpp, *.h, *.c, *.hpp) do (
|
||||
echo Formatting "%%f"
|
||||
clang-format -i -style=file "%%f"
|
||||
)
|
||||
echo Done!
|
||||
Loading…
x
Reference in New Issue
Block a user