dolphin/Source/Core/Common
Martino Fontana a14c88ba67 Remove unused imports
Yellow squiggly lines begone!
Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes.
If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed.
The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports.
Not everything is removed, but the cleanup should be substantial enough.
Because this done on Linux, code that isn't used on it is mostly untouched.
(Hopefully no open PR is depending on these imports...)
2026-01-25 16:12:15 +01:00
..
Assembler Remove unused imports 2026-01-25 16:12:15 +01:00
Config Remove unused imports 2026-01-25 16:12:15 +01:00
Crypto Remove unused imports 2026-01-25 16:12:15 +01:00
Debug Remove unused imports 2026-01-25 16:12:15 +01:00
GL Remove unused imports 2026-01-25 16:12:15 +01:00
Logging Remove unused imports 2026-01-25 16:12:15 +01:00
Align.h
Analytics.cpp
Analytics.h
Arm64Emitter.cpp Jit: Implement error-free transformation for single-precision FMA 2026-01-18 20:02:49 +01:00
Arm64Emitter.h Jit: Implement error-free transformation for single-precision FMA 2026-01-18 20:02:49 +01:00
ArmCommon.h
ArmCPUDetect.cpp ArmCPUDetect: Add OpenBSD support for elf_aux_info 2025-01-22 22:58:00 -05:00
ArmFPURoundMode.cpp
Assert.h Logging: Don't overwrite LDEBUG verbosity in Release builds 2025-09-19 13:25:42 -07:00
BitField.h Common/BitField: Silence two warnings: 2025-11-15 20:32:14 -06:00
BitField.natvis
BitSet.h
BitUtils.h c++23: Replace Common::ToUnderlying with std::to_underlying 2026-01-09 23:49:10 +01:00
BlockingLoop.h
Buffer.h Fix various typos and spelling mistakes 2026-01-17 20:11:38 +01:00
build_info.txt.in Update min win10 version from 1703/15063 to 1903/18362 2025-03-16 00:59:45 -05:00
ChunkFile.h Common: Replace enable_if with concepts and other minor modernizations. 2025-05-05 19:34:24 -05:00
CMakeLists.txt Merge pull request #14267 from jordan-woyak/std-expected 2026-01-17 22:33:15 -06:00
CodeBlock.h Cached Interpreter 2.0 2024-07-23 14:06:21 -07:00
ColorUtil.cpp linter: Apply clang-format 19.1 formatting 2025-04-23 11:19:20 +02:00
ColorUtil.h
Common.h
CommonFuncs.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
CommonFuncs.h Remove unused imports 2026-01-25 16:12:15 +01:00
CommonPaths.h chore: remove unused Logs/Mail/ dir 2025-09-24 17:42:59 -05:00
CommonTypes.h
CompatPatches.cpp linter: Apply clang-format 19.1 formatting 2025-04-23 11:19:20 +02:00
Contains.h Common: Replace Contains and ContainsSubrange with C++23 std::ranges equivalents 2025-06-05 19:18:08 -04:00
CPUDetect.h
DirectIOFile.cpp Windows/DirectIOFile: Don't request DELETE access for read-only Open 2025-11-29 14:02:24 -08:00
DirectIOFile.h Common: Add a DirectIOFile class that allows for copies which are entirely thread safe. 2025-11-09 03:08:14 -06:00
DynamicLibrary.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
DynamicLibrary.h
ENet.cpp
ENet.h
EnumFormatter.h Common: Replace enable_if with concepts and other minor modernizations. 2025-05-05 19:34:24 -05:00
EnumMap.h Common: Replace enable_if with concepts and other minor modernizations. 2025-05-05 19:34:24 -05:00
EnumMap.natvis
Event.h IOS: Only have one USBScanner 2025-04-21 21:57:49 +02:00
FatFsUtil.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
FatFsUtil.h Common: Make SD pack/unpack strings translatable 2025-02-23 23:09:24 +01:00
FileSearch.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
FileSearch.h Common/FileSearch: Refactor DoFileSearch 2026-01-24 16:50:10 +01:00
FilesystemWatcher.cpp Fix various warnings 2025-07-12 12:47:30 +02:00
FilesystemWatcher.h Common: Add class 'FilesystemWatcher' that is used to watch paths and receive callbacks about filesystem level events for anything under that path 2025-06-06 23:03:02 -05:00
FileUtil.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
FileUtil.h Remove unused imports 2026-01-25 16:12:15 +01:00
FixedSizeQueue.h
Flag.h
FloatUtils.cpp FloatUtils: Replace quieting SNaNs via 0.0 + x with MakeQuiet 2025-08-17 11:24:38 -04:00
FloatUtils.h FloatUtils: Move MakeQuiet function here from Interpreter_FPUtils 2025-08-17 11:23:12 -04:00
FormatUtil.h
FPURoundMode.h
Functional.h Common/Functional: Add InvokerOf template which can convert function pointers to functor types. 2025-11-18 14:19:21 -06:00
GekkoDisassembler.cpp GekkoDisassembler: drop unsupported opcodes 2025-12-12 01:37:19 +00:00
GekkoDisassembler.h
GenericCPUDetect.cpp
GenericFPURoundMode.cpp
Hash.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
Hash.h
HookableEvent.h HookableEvent: Allow hooks to be added and removed from within a Trigger callback. This fixes a deadlock in FIFOFifoRecorder. 2025-11-21 16:58:20 -06:00
HostDisassembler.cpp Make overriding explicit and remove redundant virtual specifiers on overriding destructors - Core & UnitTests 2025-05-01 15:00:37 +02:00
HostDisassembler.h DolphinQt: JIT Widget Refresh 2024-10-19 02:30:44 -07:00
HRWrap.cpp
HRWrap.h
HttpRequest.cpp HttpRequest: remove some legacy code for windows < 8.1 2025-04-20 11:46:09 -07:00
HttpRequest.h
Image.cpp Common and VideoCommon: Change texture data from std::vector to Common::UniqueBuffer. 2025-05-03 18:32:30 -05:00
Image.h Common and VideoCommon: Change texture data from std::vector to Common::UniqueBuffer. 2025-05-03 18:32:30 -05:00
IniFile.cpp Common/IniFile: Fix case sensitivity mismatch in IniFile::Section::Delete() 2025-01-08 05:30:39 +01:00
IniFile.h Remove unused imports 2026-01-25 16:12:15 +01:00
Inline.h
Intrinsics.h Core/Common: Fix typos 2025-03-11 19:48:45 -04:00
IOFile.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
IOFile.h Common/IOFile: Remove the Duplicate function. The duplicate handles shared a read/write position making them effectively not thread-safe. 2025-11-09 03:08:14 -06:00
JitRegister.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
JitRegister.h JitRegister: Check IsEnabled before constructing string 2026-01-11 21:01:49 +01:00
JsonUtil.cpp Common: add file serialization/deserialization functions for JSON 2024-05-31 22:36:12 -05:00
JsonUtil.h Common: update json util function for converting to numeric value to use a static_cast. As discussed, a Saturating cast doesn't make sense when converting a double to a float 2024-05-31 23:08:05 -05:00
Lazy.h
LdrWatcher.cpp Remove redundant semicolons 2024-08-20 14:59:54 +02:00
LdrWatcher.h
LinearDiskCache.h LinearDiskCache: Use make_unique_for_overwrite. 2025-04-19 17:13:40 -05:00
make_scmrev.h.js ScmRevGen: Set commits ahead to zero when on a tag 2024-06-29 22:59:40 -04:00
MathUtil.h MathUtil: Simplify SaturatingCast implementation with std::cmp_less/cmp_greater and fix a floating point edge case. 2025-08-27 21:24:46 -05:00
Matrix.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
Matrix.h Common: add transpose function to Matrix class 2025-09-17 11:14:09 -05:00
MemArena.h MemArena/LazyMemoryRegion: Add EnsureMemoryPagesWritable function to ensure a region of bytes is writable without the caller needing to be aware of the windows-only BLOCK_SIZE value. 2025-11-23 05:17:22 -06:00
MemArenaAndroid.cpp
MemArenaDarwin.cpp MemArenaDarwin: Initialize all address variables passed to vm_map 2025-04-16 00:50:54 -04:00
MemArenaUnix.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
MemArenaWin.cpp Modernize std::lower_bound/upper_bound with ranges and projections 2025-03-09 13:26:38 -07:00
MemoryUtil.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
MemoryUtil.h
MinizipUtil.h minizip-ng: Stop using compatibility mode 2025-05-22 12:51:55 +02:00
MsgHandler.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
MsgHandler.h Remove unused imports 2026-01-25 16:12:15 +01:00
Mutex.h Common: Add AtomicMutex and SpinMutex classes as faster alternatives to std::mutex. 2025-11-02 20:45:55 -06:00
NandPaths.cpp WiiSaveBanner: fall back to $userdir/Load/WiiBanners 2025-07-04 23:15:50 +01:00
NandPaths.h WiiSaveBanner: fall back to $userdir/Load/WiiBanners 2025-07-04 23:15:50 +01:00
Network.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
Network.h Common/Network: Add BluetoothAddress struct and string conversion functions. 2025-10-04 14:51:17 -05:00
OneShotEvent.h Common: Introduce a OneShotEvent class. Unlike Common::Event, OneShotEvent is safe in situations when being immediately destructed. 2025-11-18 14:19:21 -06:00
PcapFile.cpp
PcapFile.h
Profiler.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
Profiler.h Common: Make Profiler thread safe 2025-03-29 15:05:02 +01:00
Projection.h Common: Create Range Projections For std::pair 2025-03-09 13:19:41 -07:00
QoSSession.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
QoSSession.h
Random.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
Random.h Remove unused imports 2026-01-25 16:12:15 +01:00
scmrev.h.in Replace SCM_IS_MASTER with SCM_COMMITS_AHEAD_MASTER 2024-03-23 16:48:52 -05:00
SCMRevGen.vcxproj
ScopeGuard.h Common/ScopeGuard: Fix move constructor. 2025-11-18 14:19:21 -06:00
SDCardUtil.cpp
SDCardUtil.h
Semaphore.h
SettingsHandler.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
SettingsHandler.h Split SettingsHandler into separate reader and writer classes 2024-10-21 20:20:15 -07:00
SFMLHelper.cpp Migrate to SFML>=3.0.0 2025-02-25 06:42:13 +01:00
SFMLHelper.h c++23: Replace Common::ToUnderlying with std::to_underlying 2026-01-09 23:49:10 +01:00
SmallVector.h Common: Move some duplicate container element construction logic into a ManuallyConstructedValue template. 2025-04-30 14:56:07 -05:00
SocketContext.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
SocketContext.h rewrite tapserver interface for better error handling 2024-03-17 18:37:55 -07:00
SpanUtils.h Remove unused imports 2026-01-25 16:12:15 +01:00
SPSCQueue.h Common: Move some duplicate container element construction logic into a ManuallyConstructedValue template. 2025-04-30 14:56:07 -05:00
StringLiteral.h
StringUtil.cpp StringUtils: Drop TabsToSpaces 2025-12-15 13:41:54 +01:00
StringUtil.h Merge pull request #14289 from Sintendo/typos 2026-01-17 19:10:50 -05:00
Swap.h
SymbolDB.cpp PPCSymbolDB: Don't return non-const pointers 2025-07-27 17:03:57 +02:00
SymbolDB.h PPCSymbolDB: Don't return non-const pointers 2025-07-27 17:03:57 +02:00
Thread.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
Thread.h
Timer.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
Timer.h Common/Timer: Add a SteadyAwakeClock class which counts non-suspended system running time. 2025-07-24 23:56:10 -05:00
TimeUtil.cpp fmt: Replace deprecated fmt::localtime usage with Common::LocalTime 2025-06-04 13:32:12 +02:00
TimeUtil.h fmt: Replace deprecated fmt::localtime usage with Common::LocalTime 2025-06-04 13:32:12 +02:00
TraversalClient.cpp
TraversalClient.h Remove unused imports 2026-01-25 16:12:15 +01:00
TraversalProto.h Core/Common: Fix typos 2025-03-11 19:48:45 -04:00
TraversalServer.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
TypeUtils.h MMU: Use templates for Read/Write functions 2025-10-08 11:27:06 +02:00
UnixUtil.h Common: Add some utilities to a new UnixUtil header. 2025-10-04 14:51:17 -05:00
UPnP.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
UPnP.h
VariantUtil.h VariantUtil: Introduce WithVariantAlternative to dynamically construct and visit a variant alternative. 2025-02-25 17:22:59 -06:00
Version.cpp Add user agent to headers for all RetroAchievements server calls 2024-06-03 00:24:43 -04:00
Version.h Add user agent to headers for all RetroAchievements server calls 2024-06-03 00:24:43 -04:00
WaitableFlag.h IOS: Only have one USBScanner 2025-04-21 21:57:49 +02:00
WindowsDevice.cpp WindowsDevice: Add DeviceChangeNotification class. 2025-12-23 00:02:36 -06:00
WindowsDevice.h WindowsDevice: Add DeviceChangeNotification class. 2025-12-23 00:02:36 -06:00
WindowsRegistry.cpp mingw: move ReadValue instantiations in cpp for compatibility 2026-01-04 21:16:30 +00:00
WindowsRegistry.h mingw: move ReadValue instantiations in cpp for compatibility 2026-01-04 21:16:30 +00:00
WindowSystemInfo.h Core/Common: Fix typos 2025-03-11 19:48:45 -04:00
WorkQueueThread.h WorkQueueThread: Fix Cancel() race with internal command queue. 2025-05-20 21:51:25 -05:00
x64ABI.cpp
x64ABI.h Core/Common: Fix typos 2025-03-11 19:48:45 -04:00
x64CPUDetect.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
x64Emitter.cpp Jit: Implement error-free transformation for single-precision FMA 2026-01-18 20:02:49 +01:00
x64Emitter.h Jit: Implement error-free transformation for single-precision FMA 2026-01-18 20:02:49 +01:00
x64FPURoundMode.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
x64Reg.h x64Emitter: Support YMM registers 2025-09-02 22:15:16 +02:00