code: Add clang-format target and CI workflow (#82)

* code: Add clang format target, rules and CI workflow

* code: Run clang format on sources
This commit is contained in:
GPUCode 2024-02-23 22:57:57 +02:00 committed by GitHub
parent 32a5ff15bb
commit 6f4c6ae0bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
90 changed files with 2942 additions and 1941 deletions

View file

@ -1,6 +1,6 @@
#include "io_file.h"
//#include "helpers.hpp"
// #include "helpers.hpp"
#ifdef _MSC_VER
// 64 bit offsets for MSVC
@ -118,8 +118,8 @@ FILE* IOFile::getHandle() {
}
void IOFile::setAppDataDir(const std::filesystem::path& dir) {
//if (dir == "")
// Helpers::panic("Failed to set app data directory");
// if (dir == "")
// Helpers::panic("Failed to set app data directory");
appData = dir;
}