deps: update fmt to latest version (#3403)

This updates `fmt` to the latest version and moves to just being a copy
of their repo to make updating easier (no editing their cmake / figuring
out which files to minimally include).

The motivation for this is now that we switched to C++ 20, there were a
ton of deprecated function usages that is going away in future compiler
versions. This gets rid of all those warnings.
This commit is contained in:
Tyler Wilding
2024-03-05 22:11:52 -05:00
committed by GitHub
parent b819f852b6
commit 60db0e5ef9
403 changed files with 79401 additions and 1567 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ IncludeCategories:
Priority: 2
- Regex: '^(<|")common.*'
Priority: 3
- Regex: '^"third-party.*'
- Regex: '^"(third-party|fmt|curl).*'
Priority: 4
SortPriority: 5
- Regex: '.*'
+4 -3
View File
@@ -221,6 +221,10 @@ build_third_party_lib(tree-sitter tree-sitter)
# native OS dialogs for error messages
build_third_party_lib(libtinyfiledialogs libtinyfiledialogs)
# build format library
include_directories(third-party/fmt/include)
build_third_party_lib(fmt fmt)
# build common library
add_subdirectory(common)
@@ -273,9 +277,6 @@ include(test/CMakeLists.txt)
# build lzokay library
build_third_party_lib(lzokay lzokay)
# build format library
build_third_party_lib(fmt fmt)
build_third_party_lib(stb_image stb_image)
build_third_party_lib(tiny_gltf tiny_gltf)
build_third_party_lib(xdelta3 xdelta3)
+1 -1
View File
@@ -3,7 +3,7 @@
#include "common/log/log.h"
#include "common/util/BinaryWriter.h"
#include "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.h"
#ifdef __linux
#include <fcntl.h>
+1 -1
View File
@@ -19,7 +19,7 @@
#include <stdio.h>
#include <string.h>
#include "third-party/fmt/core.h"
#include "fmt/core.h"
#include "common/log/log.h"
// clang-format on
+1 -1
View File
@@ -15,7 +15,7 @@
#endif
#include "common/repl/nrepl/ReplServer.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
// clang-format on
XSocketClient::XSocketClient(int _tcp_port) {
+1 -1
View File
@@ -4,7 +4,7 @@
#include "common/cross_sockets/XSocket.h"
#include "common/common_types.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
#ifdef _WIN32
#define NOMINMAX
+1 -1
View File
@@ -2,7 +2,7 @@
#include "common/util/Assert.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
std::string DmaTag::print() {
std::string result;
+1 -1
View File
@@ -11,7 +11,7 @@
#include "common/common_types.h"
#include "common/util/Assert.h"
#include "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.h"
/*!
* Convert a DMA chain to an array of bytes that can be directly fed to VIF.
+2 -2
View File
@@ -2,8 +2,8 @@
#include "common/util/Assert.h"
#include "third-party/fmt/core.h"
#include "third-party/fmt/format.h"
#include "fmt/core.h"
#include "fmt/format.h"
std::string reg_descriptor_name(GifTag::RegisterDescriptor reg) {
switch (reg) {
+1 -1
View File
@@ -8,7 +8,7 @@
#include "tree_sitter/api.h"
#include "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.h"
namespace formatter_rules {
+2 -2
View File
@@ -9,7 +9,7 @@
#include "common/util/FileUtil.h"
#include "common/common_types.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
#include "third-party/json.hpp"
#ifdef OS_POSIX
@@ -175,7 +175,7 @@ void GlobalProfiler::dump_to_json(const std::string& path) {
lg::debug("out of order: {} {} {} ms", event.ts / 1000.f, info.debug / 1000.f,
(info.debug - event.ts) / 1000000.f);
lg::debug(" idx: {}, range {} {}", event_idx, info.lowest_at_target, info.highest_at_target);
lg::debug(" now: {}", m_next_idx);
lg::debug(" now: {}", m_next_idx.load());
}
info.debug = event.ts;
}
+1 -1
View File
@@ -16,7 +16,7 @@
#include "common/util/string_util.h"
#include "common/util/unicode_util.h"
#include "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.h"
namespace goos {
+1 -1
View File
@@ -1,6 +1,6 @@
#include "ParseHelpers.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace goos {
+1 -1
View File
@@ -15,7 +15,7 @@
#include "common/goos/PrettyPrinter2.h"
#include "common/util/Assert.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace pretty_print {
+2 -2
View File
@@ -3,8 +3,8 @@
#include "common/common_types.h"
#include "common/util/Assert.h"
#include "third-party/fmt/core.h"
#include "third-party/fmt/format.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.h"
namespace pretty_print {
namespace {
+1 -1
View File
@@ -16,7 +16,7 @@
#include "common/util/FileUtil.h"
#include "common/util/FontUtils.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace goos {
+1 -1
View File
@@ -15,7 +15,7 @@
#include "common/util/FileUtil.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace goos {
+1 -1
View File
@@ -5,7 +5,7 @@
#include <cstdlib>
#include <mutex>
#include "third-party/fmt/color.h"
#include "fmt/color.h"
#ifdef _WIN32 // see lg::initialize
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
+2 -2
View File
@@ -7,8 +7,8 @@
#endif
#include <string>
#include "third-party/fmt/color.h"
#include "third-party/fmt/core.h"
#include "fmt/color.h"
#include "fmt/core.h"
namespace lg {
+1 -1
View File
@@ -2,7 +2,7 @@
#include <cmath>
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace math {
+1 -1
View File
@@ -2,7 +2,7 @@
#include "common/versions/versions.h"
#include "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.h"
#ifdef _WIN32
#define NOMINMAX
+2 -2
View File
@@ -5,8 +5,8 @@
#include "common/util/string_util.h"
#include "common/versions/versions.h"
#include "third-party/fmt/color.h"
#include "third-party/fmt/core.h"
#include "fmt/color.h"
#include "fmt/core.h"
#include "third-party/replxx/include/replxx.hxx"
// TODO - expand a list of hints (ie. a hint for defun to show at a glance how to write a function,
// or perhaps, show the docstring for the current function being used?)
+1 -1
View File
@@ -5,7 +5,7 @@
#include "common/util/FileUtil.h"
#include "common/util/json_util.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
void open_subtitle_project(const std::string& project_kind,
const std::string& file_path,
@@ -5,7 +5,7 @@
#include "subtitles_v2.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
void to_json(json& j, const SubtitleCutsceneLineMetadataV1& obj) {
json_serialize(frame_start);
@@ -5,7 +5,7 @@
#include "subtitles_v1.h"
#include "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.h"
namespace {
std::string reg_kind_to_string(RegClass kind) {
+1 -1
View File
@@ -9,7 +9,7 @@
#include "common/log/log.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace {
// debug prints for the reverse lookup
+1 -1
View File
@@ -7,7 +7,7 @@
#include <stdexcept>
#include "third-party/fmt/core.h"
#include "fmt/core.h"
bool TypeTag::operator==(const TypeTag& other) const {
return name == other.name && value == other.value;
+2 -2
View File
@@ -14,8 +14,8 @@
#include "common/util/Assert.h"
#include "common/util/math_util.h"
#include "third-party/fmt/color.h"
#include "third-party/fmt/core.h"
#include "fmt/color.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.h"
#include "third-party/fpng/fpng.cpp"
#include "third-party/fpng/fpng.h"
#include "third-party/lzokay/lzokay.hpp"
+2 -2
View File
@@ -16,8 +16,8 @@
#include "common/util/Assert.h"
#include "third-party/fmt/core.h"
#include "third-party/fmt/format.h"
#include "fmt/core.h"
#include "fmt/format.h"
const std::unordered_map<std::string, GameTextVersion> sTextVerEnumMap = {
{"jak1-v1", GameTextVersion::JAK1_V1},
+1 -1
View File
@@ -5,7 +5,7 @@
#include "common/util/Assert.h"
#include "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.h"
/*!
* Assert false if the char[] has non-null data after the null terminated string.
+2 -2
View File
@@ -5,8 +5,8 @@
#include "common/goal_constants.h"
#include "common/util/Assert.h"
#include "fmt/core.h"
#include "third-party/dragonbox.h"
#include "third-party/fmt/core.h"
/*!
* Convert a float to a string. The string is _always_ in this format:
@@ -219,4 +219,4 @@ bool proper_float(float value) {
} else {
return true;
}
}
}
+2 -2
View File
@@ -3,8 +3,8 @@
#include "common/util/Assert.h"
#include "common/versions/revision.h"
#include "third-party/fmt/core.h"
#include "third-party/fmt/format.h"
#include "fmt/core.h"
#include "fmt/format.h"
GameVersion game_name_to_version(const std::string& name) {
if (name == "jak1") {
+1 -1
View File
@@ -10,7 +10,7 @@
#include "decompiler/ObjectFile/LinkedObjectFile.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
/*!
+1 -1
View File
@@ -10,7 +10,7 @@
#include "decompiler/ObjectFile/LinkedObjectFile.h"
#include "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
InstructionParser::InstructionParser() {
+1 -1
View File
@@ -9,7 +9,7 @@
#include "common/util/Assert.h"
#include "third-party/fmt/format.h"
#include "fmt/format.h"
namespace decompiler {
namespace Reg {
+1 -1
View File
@@ -7,7 +7,7 @@
#include "common/util/Assert.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
class DecompWarnings {
+1 -1
View File
@@ -12,7 +12,7 @@
#include "decompiler/ObjectFile/LinkedObjectFile.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
/////////////////////////////
+1 -1
View File
@@ -10,7 +10,7 @@
#include "decompiler/util/TP_Type.h"
#include "decompiler/util/type_utils.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
+1 -1
View File
@@ -12,7 +12,7 @@
#include "decompiler/util/data_decompile.h"
#include "decompiler/util/sparticle_decompile.h"
#include "third-party/fmt/ranges.h"
#include "fmt/ranges.h"
namespace decompiler {
+1 -1
View File
@@ -8,7 +8,7 @@
#include "decompiler/Function/Warnings.h"
#include "decompiler/util/TP_Type.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
enum class AccessMode : u8 {
+1 -1
View File
@@ -1,6 +1,6 @@
#include "LabelDB.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
+1 -1
View File
@@ -16,7 +16,7 @@
#include "decompiler/Disasm/InstructionDecode.h"
#include "decompiler/config.h"
#include "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
/*!
+1 -1
View File
@@ -7,7 +7,7 @@
#include "common/util/Assert.h"
#include "common/util/print_float.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
+1 -1
View File
@@ -2,7 +2,7 @@
#include "common/util/Assert.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
VuInstructionAtom VuInstructionAtom::make_vf(int idx) {
-4
View File
@@ -1,4 +0,0 @@
---
BasedOnStyle: Chromium
ColumnLimit: 100
SortIncludes: true
@@ -1,5 +1,7 @@
#include "analyze_inspect_method.h"
#include "common/log/log.h"
#include "decompiler/Disasm/InstructionMatching.h"
#include "decompiler/ObjectFile/LinkedObjectFile.h"
+3 -1
View File
@@ -1,8 +1,10 @@
#include "atomic_op_builder.h"
#include <memory>
#include "atomic_op_builder.h"
#include "common/log/log.h"
#include "common/symbols.h"
#include "decompiler/Disasm/DecompilerLabel.h"
#include "decompiler/Disasm/InstructionMatching.h"
#include "decompiler/Function/Function.h"
+2
View File
@@ -4,7 +4,9 @@
*/
#include "cfg_builder.h"
#include "common/log/log.h"
#include "decompiler/Function/Function.h"
#include "decompiler/IR2/Form.h"
#include "decompiler/ObjectFile/LinkedObjectFile.h"
+2
View File
@@ -1,6 +1,8 @@
#include "expression_build.h"
#include "common/goos/PrettyPrinter.h"
#include "common/log/log.h"
#include "decompiler/Function/Function.h"
#include "decompiler/IR2/Form.h"
#include "decompiler/IR2/FormStack.h"
+2
View File
@@ -1,5 +1,7 @@
#include "final_output.h"
#include "common/goos/PrettyPrinter.h"
#include "decompiler/IR2/Form.h"
#include "decompiler/IR2/GenericElementMatcher.h"
#include "decompiler/ObjectFile/LinkedObjectFile.h"
@@ -1,6 +1,8 @@
#include "find_defpartgroup.h"
#include "common/goos/PrettyPrinter.h"
#include "common/util/BitUtils.h"
#include "decompiler/IR2/Form.h"
#include "decompiler/IR2/GenericElementMatcher.h"
#include "decompiler/ObjectFile/LinkedObjectFile.h"
+2
View File
@@ -1,9 +1,11 @@
#include "find_defstates.h"
#include "common/goos/PrettyPrinter.h"
#include "common/log/log.h"
#include "common/type_system/state.h"
#include "decompiler/IR2/Form.h"
#include "decompiler/IR2/GenericElementMatcher.h"
#include "decompiler/ObjectFile/LinkedObjectFile.h"
+2
View File
@@ -1,8 +1,10 @@
#include "find_skelgroups.h"
#include "common/goos/PrettyPrinter.h"
#include "common/math/Vector.h"
#include "decompiler/IR2/Form.h"
#include "decompiler/IR2/GenericElementMatcher.h"
#include "decompiler/ObjectFile/LinkedObjectFile.h"
@@ -1,6 +1,8 @@
#include "inline_asm_rewrite.h"
#include "common/goos/PrettyPrinter.h"
#include "common/log/log.h"
#include "decompiler/Function/Function.h"
#include "decompiler/IR2/Form.h"
#include "decompiler/IR2/FormStack.h"
+3 -1
View File
@@ -1,3 +1,5 @@
#include "insert_lets.h"
#include <algorithm>
#include <array>
#include <limits>
@@ -7,10 +9,10 @@
#include "common/log/log.h"
#include "common/util/Assert.h"
#include "common/util/print_float.h"
#include "decompiler/IR2/GenericElementMatcher.h"
#include "decompiler/IR2/bitfields.h"
#include "decompiler/util/DecompilerTypeSystem.h"
#include "insert_lets.h"
namespace decompiler {
+3 -2
View File
@@ -1,10 +1,11 @@
#include <set>
#include "mips2c.h"
#include <set>
#include "common/log/log.h"
#include "common/symbols.h"
#include "common/util/print_float.h"
#include "decompiler/Disasm/InstructionMatching.h"
#include "decompiler/Function/Function.h"
#include "decompiler/ObjectFile/LinkedObjectFile.h"
+1
View File
@@ -1,4 +1,5 @@
#include "reg_usage.h"
#include "decompiler/Function/Function.h"
namespace decompiler {
+4 -2
View File
@@ -1,8 +1,10 @@
#include "stack_spill.h"
#include <stdexcept>
#include "decompiler/Disasm/DecompilerLabel.h"
#include "stack_spill.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
+1
View File
@@ -5,6 +5,7 @@
#include <vector>
#include "common/util/Range.h"
#include "decompiler/Disasm/Instruction.h"
#include "decompiler/util/StackSpillMap.h"
+2
View File
@@ -1,6 +1,8 @@
#include "static_refs.h"
#include "common/goos/PrettyPrinter.h"
#include "common/log/log.h"
#include "decompiler/Function/Function.h"
#include "decompiler/ObjectFile/LinkedObjectFile.h"
#include "decompiler/analysis/final_output.h"
+3
View File
@@ -1,7 +1,10 @@
#include "symbol_def_map.h"
#include "common/link_types.h"
#include "common/log/log.h"
#include "decompiler/ObjectFile/ObjectFileDB.h"
#include "third-party/json.hpp"
namespace decompiler {
+1
View File
@@ -1,4 +1,5 @@
#include "type_analysis.h"
#include "common/log/log.h"
namespace decompiler {
+1
View File
@@ -5,6 +5,7 @@
#include <vector>
#include "common/type_system/TypeSpec.h"
#include "decompiler/ObjectFile/LinkedObjectFile.h"
#include "decompiler/config.h"
#include "decompiler/util/DecompilerTypeSystem.h"
+7 -3
View File
@@ -1,12 +1,16 @@
#include "variable_naming.h"
#include <set>
#include "reg_usage.h"
#include "common/log/log.h"
#include "decompiler/Function/Function.h"
#include "decompiler/IR2/Env.h"
#include "decompiler/util/DecompilerTypeSystem.h"
#include "reg_usage.h"
#include "third-party/fmt/core.h"
#include "variable_naming.h"
#include "fmt/core.h"
namespace decompiler {
+2 -2
View File
@@ -20,12 +20,12 @@
#include <unordered_map>
#include <vector>
#include "common/util/Assert.h"
#include "decompiler/Disasm/Register.h"
#include "decompiler/IR2/IR2_common.h"
#include "decompiler/util/TP_Type.h"
#include "common/util/Assert.h"
namespace decompiler {
class Function;
+1 -1
View File
@@ -6,7 +6,7 @@
#include "decompiler/util/config_parsers.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
#include "third-party/json.hpp"
namespace decompiler {
+1 -1
View File
@@ -13,7 +13,7 @@
#include "game/common/overlord_common.h"
#include "game/common/str_rpc_types.h"
#include "third-party/fmt/format.h"
#include "fmt/format.h"
namespace decompiler {
StrFileReader::StrFileReader(const fs::path& file_path, GameVersion version) : m_version(version) {
+1 -1
View File
@@ -3,7 +3,7 @@
#include "common/log/log.h"
#include "common/util/Assert.h"
#include "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
std::string DirTpageResult::to_source() const {
+1 -1
View File
@@ -4,7 +4,7 @@
#include "decompiler/ObjectFile/ObjectFileDB.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
GameCountResult process_game_count(ObjectFileData& data) {
+1 -1
View File
@@ -14,7 +14,7 @@
#include "decompiler/ObjectFile/ObjectFileDB.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
namespace {
+1 -1
View File
@@ -7,7 +7,7 @@
#include "common/util/FileUtil.h"
#include "common/util/string_util.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
#include "third-party/json.hpp"
namespace decompiler {
+1 -1
View File
@@ -23,7 +23,7 @@
#include "decompiler/ObjectFile/ObjectFileDB.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
namespace {
+1 -1
View File
@@ -6,7 +6,7 @@
#include "decompiler/ObjectFile/LinkedObjectFile.h"
#include "decompiler/util/DecompilerTypeSystem.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
@@ -2,7 +2,7 @@
#include "common/goos/PrettyPrinter2.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
#include "third-party/json.hpp"
namespace decompiler {
@@ -146,4 +146,4 @@ std::string extract_actors_to_json(const level_tools::DrawableInlineArrayActor&
return json.dump(2);
}
} // namespace decompiler
} // namespace decompiler
+1 -1
View File
@@ -5,7 +5,7 @@
#include "common/util/Assert.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
/*
* Allowable lines:
+1 -1
View File
@@ -2,7 +2,7 @@
#include <stdexcept>
#include "third-party/fmt/core.h"
#include "fmt/core.h"
class Error : public std::runtime_error {
public:
+2 -2
View File
@@ -1,6 +1,6 @@
#include "TP_Type.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
u32 regs_to_gpr_mask(const std::vector<Register>& regs) {
@@ -231,4 +231,4 @@ TypeSpec TP_Type::typespec() const {
return {};
}
}
} // namespace decompiler
} // namespace decompiler
+1 -1
View File
@@ -13,7 +13,7 @@
#include "decompiler/ObjectFile/LinkedObjectFile.h"
#include "decompiler/analysis/final_output.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
namespace decompiler {
+1 -1
View File
@@ -6,7 +6,7 @@
#include "decompiler/util/data_decompile.h"
#include "third-party/fmt/format.h"
#include "fmt/format.h"
namespace decompiler {
// sparticle fields.
@@ -1,6 +1,6 @@
#include "BucketRenderer.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
#include "third-party/imgui/imgui.h"
std::string BucketRenderer::name_and_id() const {
+1 -1
View File
@@ -2,7 +2,7 @@
#include "game/graphics/opengl_renderer/dma_helpers.h"
#include "third-party/fmt/core.h"
#include "fmt/core.h"
#include "third-party/imgui/imgui.h"
namespace {
@@ -6,7 +6,7 @@
#include "game/graphics/pipelines/opengl.h"
#include "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.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 "third-party/fmt/core.h"
#include "fmt/core.h"
#include "third-party/imgui/imgui.h"
TextureUploadHandler::TextureUploadHandler(const std::string& name,

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