Warning, /sdk/heaptrack/format_sources is written in an unsupported language. File is not indexed.

0001 # clang-format's assume-filename seems to be broken
0002 # we must not specify the path to $TMPFILE directly, as clang-format would then
0003 # look in that folder for the config file. Instead, we want it to use the current
0004 # CWD which can be achieved by piping in the file. But then we need to overwrite
0005 # the original file again, which can be done with sponge easily
0006 src/*.cpp src/*.h tests/*.h tests/*.cpp : clang-format < $TMPFILE | sponge $TMPFILE
0007