mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
82d5e0f796
* before __register_global_object * JKRThread::sThreadList, JKRHeap::sSystemHeap, etc. * cleanup and started on JKRDvdArchive * before changing JKRCompression * more JKRDvdArchive, abs, and memset * fixed JKRArchive::setExpandSize split * JKRArchive::sCurrentDirID, JKRDvdFile::sDvdList, and matching JKRDvdFile constructors * problems * merge fixes and formatting * updated clang version in clang-format-all to version 10 * Added OSPhysicalToCached and struct for global memory * remove useless __attribute__ * changed from defines and macros to const variable and function * changed FLAG_HAS to FLAG_ON * JKRAram, linking problems * fix JKRAram * remove nonmatching stuff * renamed static data * more static class members * JKRAramStream OK * formatting Co-authored-by: Julgodis <> Co-authored-by: Pheenoh <pheenoh@gmail.com>
15 lines
367 B
Bash
Executable File
15 lines
367 B
Bash
Executable File
#!/bin/bash
|
|
if [[ -z "${CLANG_FORMAT_EXE}" ]]; then
|
|
CF="clang-format-10"
|
|
else
|
|
CF="${CLANG_FORMAT_EXE}"
|
|
fi
|
|
|
|
echo "formatting src/*"
|
|
find ./src -iname *.h -o -iname *.cpp | xargs $CF -i
|
|
echo "formatting libs/*"
|
|
find ./libs -iname *.h -o -iname *.cpp | xargs $CF -i
|
|
echo "formatting include/*"
|
|
find ./include -iname *.h -o -iname *.cpp | xargs $CF -i
|
|
echo "done"
|