deps/fmt: update include statements

This commit is contained in:
Tyler Wilding
2025-03-30 21:57:29 -04:00
parent 7a24658b49
commit a47723ed12
145 changed files with 147 additions and 145 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#include "common/log/log.h"
#include "common/util/BinaryWriter.h"
#include "fmt/core.h"
#include "fmt/format.h"
/*!
* Write a wave file from a vector of samples.
+1 -1
View File
@@ -11,7 +11,7 @@
#include "common/goal_constants.h"
#include "common/util/Timer.h"
#include "fmt/core.h"
#include "fmt/format.h"
#ifdef __linux
#include <fcntl.h>
+1 -1
View File
@@ -19,7 +19,7 @@
#include <stdio.h>
#include <string.h>
#include "fmt/core.h"
#include "fmt/format.h"
#include "common/log/log.h"
// clang-format on
+1 -1
View File
@@ -5,7 +5,7 @@
#include "common/cross_sockets/XSocket.h"
#include "common/log/log.h"
#include "fmt/core.h"
#include "fmt/format.h"
// clang-format off
#ifdef _WIN32
+1 -1
View File
@@ -4,7 +4,7 @@
#include "common/cross_sockets/XSocket.h"
#include "common/common_types.h"
#include "fmt/core.h"
#include "fmt/format.h"
#ifdef _WIN32
#define NOMINMAX
+1 -1
View File
@@ -2,7 +2,7 @@
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
std::string DmaTag::print() const {
std::string result;
+1 -1
View File
@@ -11,7 +11,7 @@
#include "common/common_types.h"
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
struct DmaStats {
double sync_time_ms = 0;
+1 -1
View File
@@ -6,7 +6,7 @@
#include "common/log/log.h"
#include "common/util/Timer.h"
#include "fmt/core.h"
#include "fmt/format.h"
/*!
* Convert a DMA chain to an array of bytes that can be directly fed to VIF.
+1 -1
View File
@@ -2,7 +2,7 @@
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "fmt/format.h"
std::string reg_descriptor_name(GifTag::RegisterDescriptor reg) {
+1 -1
View File
@@ -11,7 +11,7 @@
#include "tree_sitter/api.h"
#include "fmt/core.h"
#include "fmt/format.h"
// Declare the `tree_sitter_opengoal` function, which is
// implemented by the `tree-sitter-opengoal` library.
+1 -1
View File
@@ -2,7 +2,7 @@
#include "common/util/string_util.h"
#include "fmt/core.h"
#include "fmt/format.h"
std::string get_source_code(const std::string& source, const TSNode& node) {
uint32_t start = ts_node_start_byte(node);
+1 -1
View File
@@ -4,7 +4,7 @@
#include "common/util/string_util.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace formatter_rules {
+1 -1
View File
@@ -9,7 +9,7 @@
#include "common/util/FileUtil.h"
#include "common/common_types.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/json.hpp"
#ifdef OS_POSIX
+1 -1
View File
@@ -16,7 +16,7 @@
#include "common/util/string_util.h"
#include "common/util/unicode_util.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace goos {
Interpreter::Interpreter(const std::string& username) {
+1 -1
View File
@@ -47,7 +47,7 @@
#include "common/util/crc32.h"
#include "common/util/print_float.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace goos {
+1 -1
View File
@@ -57,7 +57,7 @@
#include "common/util/Assert.h"
#include "common/util/crc32.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace goos {
+1 -1
View File
@@ -1,6 +1,6 @@
#include "ParseHelpers.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace goos {
+1 -1
View File
@@ -15,7 +15,7 @@
#include "common/goos/PrettyPrinter2.h"
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace pretty_print {
+1 -1
View File
@@ -3,7 +3,7 @@
#include "common/common_types.h"
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "fmt/format.h"
namespace pretty_print {
+1 -1
View File
@@ -6,7 +6,7 @@
#include "common/goos/Object.h"
#include "common/util/print_float.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace pretty_print {
namespace {
+2 -1
View File
@@ -15,7 +15,8 @@
#include "common/util/FileUtil.h"
#include "common/util/FontUtils.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "fmt/ranges.h"
namespace goos {
+1 -1
View File
@@ -15,7 +15,7 @@
#include "common/util/FileUtil.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace goos {
+1 -1
View File
@@ -8,7 +8,7 @@
#include <string>
#include "fmt/color.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace lg {
+1 -1
View File
@@ -2,7 +2,7 @@
#include <cmath>
#include "fmt/core.h"
#include "fmt/format.h"
namespace math {
+1 -1
View File
@@ -2,7 +2,7 @@
#include "common/versions/versions.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace REPL {
void to_json(json& j, const Config& obj) {
+1 -1
View File
@@ -4,7 +4,7 @@
#include "common/cross_sockets/XSocket.h"
#include "common/versions/versions.h"
#include "fmt/core.h"
#include "fmt/format.h"
#ifdef _WIN32
#define NOMINMAX
+1 -1
View File
@@ -4,7 +4,7 @@
#include "common/cross_sockets/XSocket.h"
#include "common/versions/versions.h"
#include "fmt/core.h"
#include "fmt/format.h"
#ifdef _WIN32
#define NOMINMAX
+1 -1
View File
@@ -6,7 +6,7 @@
#include "common/versions/versions.h"
#include "fmt/color.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/replxx/include/replxx.hxx"
namespace REPL {
+1 -1
View File
@@ -5,7 +5,7 @@
#include "common/util/FileUtil.h"
#include "common/util/json_util.h"
#include "fmt/core.h"
#include "fmt/format.h"
void open_subtitle_project(const std::string& project_kind,
const std::string& file_path,
@@ -5,7 +5,7 @@
#include "subtitles_v2.h"
#include "fmt/core.h"
#include "fmt/format.h"
void to_json(json& j, const SubtitleCutsceneLineMetadataV1& obj) {
json_serialize(frame_start);
@@ -5,7 +5,7 @@
#include "subtitles_v1.h"
#include "fmt/core.h"
#include "fmt/format.h"
void to_json(json& j, const SubtitleLineMetadata& obj) {
json_serialize(frame_start);
+1 -1
View File
@@ -10,7 +10,7 @@
#include "common/log/log.h"
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace {
std::string reg_kind_to_string(RegClass kind) {
+1 -1
View File
@@ -9,7 +9,7 @@
#include "common/log/log.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace {
// debug prints for the reverse lookup
+1 -1
View File
@@ -7,7 +7,7 @@
#include <stdexcept>
#include "fmt/core.h"
#include "fmt/format.h"
bool TypeTag::operator==(const TypeTag& other) const {
return name == other.name && value == other.value;
+1 -1
View File
@@ -15,7 +15,7 @@
#include "common/util/math_util.h"
#include "fmt/color.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace {
template <typename... Args>
+1 -1
View File
@@ -13,7 +13,7 @@
#include "common/util/BitUtils.h"
#include "common/util/string_util.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace {
const goos::Object& car(const goos::Object* x) {
+1 -1
View File
@@ -13,7 +13,7 @@
#include "common/type_system/state.h"
#include "common/util/string_util.h"
#include "fmt/core.h"
#include "fmt/format.h"
/*!
* Missing Features
+1 -1
View File
@@ -22,7 +22,7 @@
// This disables the use of PCLMULQDQ which is probably ok, but let's just be safe and disable it
// because nobody will care if png compression is 10% slower.
#define FPNG_NO_SSE 1
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/fpng/fpng.cpp"
#include "third-party/fpng/fpng.h"
#include "third-party/lzokay/lzokay.hpp"
+1 -1
View File
@@ -16,7 +16,7 @@
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "fmt/format.h"
const std::unordered_map<std::string, GameTextVersion> sTextVerEnumMap = {
+1 -1
View File
@@ -5,7 +5,7 @@
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/zstd/lib/zstd.h"
namespace compression {
+1 -1
View File
@@ -5,7 +5,7 @@
#include "common/util/Assert.h"
#include "common/versions/versions.h"
#include "fmt/core.h"
#include "fmt/format.h"
/*!
* Assert false if the char[] has non-null data after the null terminated string.
+1 -1
View File
@@ -5,7 +5,7 @@
#include "common/goal_constants.h"
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/dragonbox.h"
/*!
+1 -1
View File
@@ -3,7 +3,7 @@
#include "common/util/Assert.h"
#include "common/versions/revision.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "fmt/format.h"
GameVersion game_name_to_version(const std::string& name) {
+1 -1
View File
@@ -10,7 +10,7 @@
#include "decompiler/ObjectFile/LinkedObjectFile.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
/*!
+1 -1
View File
@@ -10,7 +10,7 @@
#include "decompiler/ObjectFile/LinkedObjectFile.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
// utility class to extract fields of an opcode.
+1 -1
View File
@@ -7,7 +7,7 @@
#include "common/common_types.h"
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
InstructionParser::InstructionParser() {
+1 -1
View File
@@ -7,7 +7,7 @@
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
class DecompWarnings {
+1 -1
View File
@@ -12,7 +12,7 @@
#include "decompiler/ObjectFile/LinkedObjectFile.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
/////////////////////////////
+1 -1
View File
@@ -10,7 +10,7 @@
#include "decompiler/util/TP_Type.h"
#include "decompiler/util/type_utils.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
+1 -1
View File
@@ -8,7 +8,7 @@
#include "decompiler/Function/Warnings.h"
#include "decompiler/util/TP_Type.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
enum class AccessMode : u8 {
+1 -1
View File
@@ -1,6 +1,6 @@
#include "LabelDB.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
+1 -1
View File
@@ -16,7 +16,7 @@
#include "decompiler/Disasm/InstructionDecode.h"
#include "decompiler/config.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/json.hpp"
namespace decompiler {
+1 -1
View File
@@ -21,7 +21,7 @@
#include "decompiler/data/TextureDB.h"
#include "decompiler/util/DecompilerTypeSystem.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
/*!
+1 -1
View File
@@ -7,7 +7,7 @@
#include "common/util/Assert.h"
#include "common/util/print_float.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
+1 -1
View File
@@ -2,7 +2,7 @@
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
VuInstructionAtom VuInstructionAtom::make_vf(int idx) {
+1 -1
View File
@@ -4,7 +4,7 @@
#include "decompiler/Disasm/DecompilerLabel.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
+1 -1
View File
@@ -10,7 +10,7 @@
#include "decompiler/IR2/Env.h"
#include "decompiler/util/DecompilerTypeSystem.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
+1 -1
View File
@@ -6,7 +6,7 @@
#include "decompiler/util/config_parsers.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
+1 -1
View File
@@ -3,7 +3,7 @@
#include "common/log/log.h"
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
#define STBI_WINDOWS_UTF8
#include "third-party/stb_image/stb_image.h"
+1 -1
View File
@@ -2,7 +2,7 @@
#include "decompiler/ObjectFile/ObjectFileDB.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
std::string DirTpageResult::to_source() const {
+1 -1
View File
@@ -4,7 +4,7 @@
#include "decompiler/ObjectFile/ObjectFileDB.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
GameCountResult process_game_count(ObjectFileData& data) {
+1 -1
View File
@@ -14,7 +14,7 @@
#include "decompiler/ObjectFile/ObjectFileDB.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
namespace {
+1 -1
View File
@@ -7,7 +7,7 @@
#include "common/util/FileUtil.h"
#include "common/util/string_util.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/json.hpp"
namespace decompiler {
+1 -1
View File
@@ -23,7 +23,7 @@
#include "decompiler/ObjectFile/ObjectFileDB.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
namespace {
+1 -1
View File
@@ -6,7 +6,7 @@
#include "decompiler/ObjectFile/LinkedObjectFile.h"
#include "decompiler/util/DecompilerTypeSystem.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
@@ -2,7 +2,7 @@
#include "common/goos/PrettyPrinter2.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/json.hpp"
namespace decompiler {
+1 -1
View File
@@ -5,7 +5,7 @@
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
/*
* Allowable lines:
+1 -1
View File
@@ -2,7 +2,7 @@
#include <stdexcept>
#include "fmt/core.h"
#include "fmt/format.h"
class Error : public std::runtime_error {
public:
+1 -1
View File
@@ -1,6 +1,6 @@
#include "TP_Type.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
u32 regs_to_gpr_mask(const std::vector<Register>& regs) {
+1 -1
View File
@@ -13,7 +13,7 @@
#include "decompiler/ObjectFile/LinkedObjectFile.h"
#include "decompiler/analysis/final_output.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace decompiler {
@@ -1,6 +1,6 @@
#include "BucketRenderer.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/imgui/imgui.h"
std::string BucketRenderer::name() const {
+1 -1
View File
@@ -2,7 +2,7 @@
#include "game/graphics/opengl_renderer/dma_helpers.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/imgui/imgui.h"
namespace {
@@ -6,7 +6,7 @@
#include "game/graphics/pipelines/opengl.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/imgui/imgui.h"
DirectRenderer::ScissorState DirectRenderer::m_scissor;
+1 -1
View File
@@ -5,7 +5,7 @@
#include "common/log/log.h"
#include "common/util/colors.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/imgui/imgui.h"
ProfilerNode::ProfilerNode(const std::string& name) : m_name(name) {}
@@ -6,7 +6,7 @@
#include "game/graphics/opengl_renderer/EyeRenderer.h"
#include "game/graphics/pipelines/opengl.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/imgui/imgui.h"
TextureUploadHandler::TextureUploadHandler(const std::string& name,
+1 -1
View File
@@ -9,7 +9,7 @@
#include "game/overlord/jak3/dma.h"
#include "game/system/hid/sdl_util.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/imgui/imgui.h"
#include "third-party/imgui/imgui_style.h"
@@ -5,7 +5,7 @@
#include "game/graphics/opengl_renderer/background/background_common.h"
#include "game/graphics/opengl_renderer/dma_helpers.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/imgui/imgui.h"
namespace {
+1 -1
View File
@@ -30,7 +30,7 @@
#include "game/system/hid/input_manager.h"
#include "game/system/hid/sdl_util.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/SDL/include/SDL3/SDL.h"
#include "third-party/SDL/include/SDL3/SDL_hints.h"
#include "third-party/SDL/include/SDL3/SDL_version.h"
+1 -1
View File
@@ -4,7 +4,7 @@
#include "common/util/Assert.h"
#include "common/util/FileUtil.h"
#include "fmt/core.h"
#include "fmt/format.h"
TextureConverter::TextureConverter() {
m_vram.resize(4 * 1024 * 1024);
+1 -1
View File
@@ -12,7 +12,7 @@
#include "game/graphics/texture/jak2_tpage_dir.h"
#include "game/graphics/texture/jak3_tpage_dir.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/imgui/imgui.h"
namespace {
+1 -1
View File
@@ -6,7 +6,7 @@
#include "game/kernel/common/fileio.h"
#include "game/kernel/common/kscheme.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace {
// turn on printf's for debugging linking issues.
+1 -1
View File
@@ -19,7 +19,7 @@
#include "game/sce/sif_ee.h"
#include "game/sce/sif_ee_memcard.h"
#include "fmt/core.h"
#include "fmt/format.h"
static constexpr bool memcard_debug = false;
+1 -1
View File
@@ -12,7 +12,7 @@
#include "game/kernel/jak1/kscheme.h"
#include "game/mips2c/mips2c_table.h"
#include "fmt/core.h"
#include "fmt/format.h"
static constexpr bool link_debug_printfs = false;
/*!
+1 -1
View File
@@ -13,7 +13,7 @@
#include "game/kernel/jak2/kscheme.h"
#include "game/mips2c/mips2c_table.h"
#include "fmt/core.h"
#include "fmt/format.h"
static constexpr bool link_debug_printfs = false;
+1 -1
View File
@@ -12,7 +12,7 @@
#include "game/kernel/jak3/kscheme.h"
#include "game/mips2c/mips2c_table.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace {
bool is_opengoal_object(void* data) {
+1 -1
View File
@@ -12,7 +12,7 @@
#include "game/common/vu.h"
#include "game/mips2c/mips2c_table.h"
#include "fmt/core.h"
#include "fmt/format.h"
// This file contains utility functions for code generated by the mips2c pass.
// This is only useful for
+1 -1
View File
@@ -24,7 +24,7 @@
#include "game/sce/iop.h"
#include "game/sound/sndshim.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/magic_enum.hpp"
using namespace iop;
+1 -1
View File
@@ -12,7 +12,7 @@
#include "game/sound/989snd/musicbank.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace snd {
+1 -1
View File
@@ -8,7 +8,7 @@
#include "game/sound/989snd/util.h"
#include "fmt/core.h"
#include "fmt/format.h"
namespace snd {
/*
+1 -1
View File
@@ -6,7 +6,7 @@
#include "sfxblock.h"
#include "fmt/core.h"
#include "fmt/format.h"
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
+1 -1
View File
@@ -7,7 +7,7 @@
#include "game/sound/common/voice.h"
#include "fmt/core.h"
#include "fmt/format.h"
std::shared_ptr<snd::Voice> voices[kNVoices];
u8 spu_memory[0x15160 * 10];
+1 -1
View File
@@ -12,7 +12,7 @@
#include "common/listener_common.h"
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "fmt/format.h"
#ifdef _WIN32
#define NOMINMAX
+1 -1
View File
@@ -7,7 +7,7 @@
#include "game/system/hid/sdl_util.h"
#include "fmt/core.h"
#include "fmt/format.h"
GameController::GameController(int sdl_device_id,
std::shared_ptr<game_settings::InputSettings> settings)
+1 -1
View File
@@ -4,7 +4,7 @@
#include "common/global_profiler/GlobalProfiler.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "fmt/format.h"
DisplayManager::DisplayManager(SDL_Window* window) : m_window(window) {
+1 -1
View File
@@ -2,7 +2,7 @@
#include "game/graphics/gfx.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/imgui/imgui.h"
#include "third-party/imgui/imgui_stdlib.h"
@@ -10,7 +10,7 @@
#include "game/runtime.h"
#include "fmt/core.h"
#include "fmt/format.h"
#include "third-party/imgui/imgui.h"
#include "third-party/imgui/imgui_stdlib.h"
@@ -5,7 +5,7 @@
#include "game/runtime.h"
#include "fmt/core.h"
#include "fmt/format.h"
void Jak1SubtitleEditorDB::update() {
if (g_game_version != GameVersion::Jak1) {
@@ -4,7 +4,7 @@
#include "game/runtime.h"
#include "fmt/core.h"
#include "fmt/format.h"
SubtitleEditorReplClient::SubtitleEditorReplClient() {
int port = 8181;
+1 -1
View File
@@ -6,7 +6,7 @@
#include "goalc/data_compiler/DataObjectGenerator.h"
#include "fmt/core.h"
#include "fmt/format.h"
/*
* name: crate-3141
+1 -1
View File
@@ -14,7 +14,7 @@
#include "goalc/debugger/DebugInfo.h"
#include "goalc/emitter/IGen.h"
#include "fmt/core.h"
#include "fmt/format.h"
using namespace emitter;

Some files were not shown because too many files have changed in this diff Show More