Debian Codegraph @

gobject-introspection-tests/tools/run_clang_format.sh

raw
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