yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

common: Reduce unused includes

This commit is contained in:
ameerj 2022-03-19 00:23:48 -04:00
parent 1bc7d61b57
commit 923decae5a
30 changed files with 8 additions and 32 deletions

View File

@ -3,7 +3,6 @@
#pragma once #pragma once
#include <cstddef> #include <cstddef>
#include <new>
#include <type_traits> #include <type_traits>
namespace Common { namespace Common {

View File

@ -4,9 +4,6 @@
#pragma once #pragma once
#include <cstring>
#include <memory>
#include "common/common_types.h" #include "common/common_types.h"
#if _MSC_VER #if _MSC_VER

View File

@ -33,7 +33,6 @@
#include <cstddef> #include <cstddef>
#include <limits> #include <limits>
#include <type_traits> #include <type_traits>
#include "common/common_funcs.h"
#include "common/swap.h" #include "common/swap.h"
/* /*

View File

@ -2,7 +2,6 @@
// Licensed under GPLv2+ // Licensed under GPLv2+
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <cstring>
#include <string> #include <string>
#include <utility> #include <utility>

View File

@ -7,7 +7,6 @@
#include <array> #include <array>
#include <cstddef> #include <cstddef>
#include <string> #include <string>
#include <type_traits>
#include <vector> #include <vector>
#include <fmt/format.h> #include <fmt/format.h>
#include "common/common_types.h" #include "common/common_types.h"

View File

@ -27,7 +27,6 @@
#include "common/assert.h" #include "common/assert.h"
#include "common/host_memory.h" #include "common/host_memory.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "common/scope_exit.h"
namespace Common { namespace Common {

View File

@ -4,7 +4,6 @@
#pragma once #pragma once
#include "common/alignment.h"
#include "common/common_funcs.h" #include "common/common_funcs.h"
#include "common/parent_of_member.h" #include "common/parent_of_member.h"
#include "common/tree.h" #include "common/tree.h"

View File

@ -10,12 +10,10 @@
#endif #endif
#include "common/assert.h" #include "common/assert.h"
#include "common/common_funcs.h"
#include "common/logging/filter.h" #include "common/logging/filter.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "common/logging/log_entry.h" #include "common/logging/log_entry.h"
#include "common/logging/text_formatter.h" #include "common/logging/text_formatter.h"
#include "common/string_util.h"
namespace Common::Log { namespace Common::Log {

View File

@ -4,7 +4,6 @@
#pragma once #pragma once
#include <cstddef>
#include <string> #include <string>
namespace Common::Log { namespace Common::Log {

View File

@ -6,7 +6,6 @@
#include <fmt/format.h> #include <fmt/format.h>
#include "common/fs/file.h"
#include "common/fs/fs.h" #include "common/fs/fs.h"
#include "common/fs/path_util.h" #include "common/fs/path_util.h"
#include "common/nvidia_flags.h" #include "common/nvidia_flags.h"

View File

@ -5,7 +5,6 @@
#pragma once #pragma once
#include <atomic> #include <atomic>
#include <tuple>
#include "common/common_types.h" #include "common/common_types.h"
#include "common/virtual_buffer.h" #include "common/virtual_buffer.h"

View File

@ -7,7 +7,6 @@
#include <type_traits> #include <type_traits>
#include "common/assert.h" #include "common/assert.h"
#include "common/common_types.h"
namespace Common { namespace Common {
namespace detail { namespace detail {

View File

@ -12,7 +12,6 @@
#include <new> #include <new>
#include <type_traits> #include <type_traits>
#include <vector> #include <vector>
#include "common/common_types.h"
namespace Common { namespace Common {

View File

@ -5,11 +5,9 @@
#include <algorithm> #include <algorithm>
#include <cctype> #include <cctype>
#include <codecvt> #include <codecvt>
#include <cstdlib>
#include <locale> #include <locale>
#include <sstream> #include <sstream>
#include "common/logging/log.h"
#include "common/string_util.h" #include "common/string_util.h"
#ifdef _WIN32 #ifdef _WIN32

View File

@ -4,7 +4,6 @@
#include <algorithm> #include <algorithm>
#include <cstring> #include <cstring>
#include "common/assert.h"
#include "common/scm_rev.h" #include "common/scm_rev.h"
#include "common/telemetry.h" #include "common/telemetry.h"

View File

@ -8,7 +8,6 @@
#include <map> #include <map>
#include <memory> #include <memory>
#include <string> #include <string>
#include <string_view>
#include "common/common_funcs.h" #include "common/common_funcs.h"
#include "common/common_types.h" #include "common/common_types.h"

View File

@ -4,7 +4,6 @@
#include <string> #include <string>
#include "common/error.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "common/thread.h" #include "common/thread.h"
#ifdef __APPLE__ #ifdef __APPLE__

View File

@ -4,7 +4,6 @@
#pragma once #pragma once
#include <cstring>
#include <utility> #include <utility>
#ifdef _MSC_VER #ifdef _MSC_VER

View File

@ -7,7 +7,6 @@
#include <array> #include <array>
#include <functional> #include <functional>
#include <string> #include <string>
#include <string_view>
#include "common/common_types.h" #include "common/common_types.h"

View File

@ -4,7 +4,6 @@
#pragma once #pragma once
#include <type_traits>
#include <utility> #include <utility>
namespace Common { namespace Common {

View File

@ -2,8 +2,6 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <cstdint>
#include "common/uint128.h" #include "common/uint128.h"
#include "common/wall_clock.h" #include "common/wall_clock.h"

View File

@ -4,7 +4,6 @@
#include <array> #include <array>
#include <cstring> #include <cstring>
#include <iterator> #include <iterator>
#include <span>
#include <string_view> #include <string_view>
#include "common/bit_util.h" #include "common/bit_util.h"
#include "common/common_types.h" #include "common/common_types.h"

View File

@ -4,8 +4,6 @@
#include <array> #include <array>
#include <chrono> #include <chrono>
#include <limits>
#include <mutex>
#include <thread> #include <thread>
#include "common/atomic_ops.h" #include "common/atomic_ops.h"

View File

@ -4,8 +4,6 @@
#pragma once #pragma once
#include <optional>
#include "common/wall_clock.h" #include "common/wall_clock.h"
namespace Common { namespace Common {

View File

@ -6,7 +6,9 @@
#include <array> #include <array>
#include <vector> #include <vector>
#include "common/bit_field.h" #include "common/bit_field.h"
#include "common/common_funcs.h"
#include "common/common_types.h" #include "common/common_types.h"
#include "common/swap.h" #include "common/swap.h"
#include "core/file_sys/vfs_types.h" #include "core/file_sys/vfs_types.h"

View File

@ -7,6 +7,7 @@
#include <array> #include <array>
#include <optional> #include <optional>
#include "common/common_funcs.h"
#include "common/common_types.h" #include "common/common_types.h"
#include "common/swap.h" #include "common/swap.h"
#include "common/uuid.h" #include "common/uuid.h"

View File

@ -5,6 +5,8 @@
#pragma once #pragma once
#include <vector> #include <vector>
#include "common/common_funcs.h"
#include "common/common_types.h" #include "common/common_types.h"
#include "common/swap.h" #include "common/swap.h"
#include "core/hle/service/nvdrv/devices/nvdevice.h" #include "core/hle/service/nvdrv/devices/nvdevice.h"

View File

@ -7,6 +7,7 @@
#include <memory> #include <memory>
#include <vector> #include <vector>
#include "common/bit_field.h" #include "common/bit_field.h"
#include "common/common_funcs.h"
#include "common/common_types.h" #include "common/common_types.h"
#include "common/swap.h" #include "common/swap.h"
#include "core/hle/service/nvdrv/devices/nvdevice.h" #include "core/hle/service/nvdrv/devices/nvdevice.h"

View File

@ -8,6 +8,7 @@
#include <vector> #include <vector>
#include "common/bit_field.h" #include "common/bit_field.h"
#include "common/common_funcs.h"
#include "common/common_types.h" #include "common/common_types.h"
namespace Tegra { namespace Tegra {