☰
Debian Codegraph
@
1.86.0-6
/
/
gobject-introspection-tests
/
tools
/
run_clang_format.sh
☽
☼
gobject-introspection-tests/tools/run_clang_format.sh
code
plain
raw
Expat
or
LGPL-2+
2024 Philip Chimento
debian/copyright
1
#!/bin/bash
2
3
# SPDX-License-Identifier: MIT
4
# SPDX-FileCopyrightText: 2024 Philip Chimento <
[email protected]
>
5
6
CLANG_FORMAT=${CLANG_FORMAT:-clang-format}
7
for file in *.c *.h; do
8
$CLANG_FORMAT -i $file
9
done