mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 01:06:48 +08:00
clang-format.
This commit is contained in:
parent
a8c5bd9a38
commit
9049a1a511
@ -618,8 +618,7 @@ typedef struct {
|
|||||||
} lib_symbol;
|
} lib_symbol;
|
||||||
|
|
||||||
#define lib_nelems(x) (sizeof(x) / sizeof((x)[0]))
|
#define lib_nelems(x) (sizeof(x) / sizeof((x)[0]))
|
||||||
#define lib_symbol_def(name) \
|
#define lib_symbol_def(name) {#name, (void **)&name}
|
||||||
{ #name, (void **)&name }
|
|
||||||
|
|
||||||
static const lib_symbol lib_symbols_kperf[] = {
|
static const lib_symbol lib_symbols_kperf[] = {
|
||||||
lib_symbol_def(kpc_pmu_version),
|
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