Merge pull request #13022 from tygyh/Remove-redundant-semicolons

Remove redundant semicolons
This commit is contained in:
Tilka
2024-08-21 01:52:16 +01:00
committed by GitHub
48 changed files with 72 additions and 70 deletions
+2 -2
View File
@@ -312,7 +312,7 @@ class BitFieldArrayConstRef
friend class BitFieldArrayConstIterator<position, bits, size, T, S>;
public:
constexpr T Value() const { return m_array->Value(m_index); };
constexpr T Value() const { return m_array->Value(m_index); }
constexpr operator T() const { return Value(); }
private:
@@ -333,7 +333,7 @@ class BitFieldArrayRef
friend class BitFieldArrayIterator<position, bits, size, T, S>;
public:
constexpr T Value() const { return m_array->Value(m_index); };
constexpr T Value() const { return m_array->Value(m_index); }
constexpr operator T() const { return Value(); }
T operator=(const BitFieldArrayRef<position, bits, size, T, S>& value) const
{
+1 -1
View File
@@ -261,4 +261,4 @@ int __cdecl EnableCompatPatches()
extern "C" {
__declspec(allocate(".CRT$XCZ")) decltype(&EnableCompatPatches)
enableCompatPatches = EnableCompatPatches;
};
}
+1 -1
View File
@@ -14,7 +14,7 @@
namespace Core
{
class CPUThreadGuard;
};
}
namespace Common::Debug
{
+1 -1
View File
@@ -78,7 +78,7 @@ public:
{
static LdrDllNotifier notifier;
return notifier;
};
}
void Install(LdrObserver* observer);
void Uninstall(LdrObserver* observer);
+1 -1
View File
@@ -54,7 +54,7 @@ public:
private:
Profiler* m_p;
};
}; // namespace Common
} // namespace Common
// Warning: This profiler isn't thread safe. Only profile functions which doesn't run simultaneously
#define PROFILE(name) \
+1 -1
View File
@@ -195,7 +195,7 @@ std::from_chars_result FromChars(std::string_view sv, T& value,
const char* const last = first + sv.size();
return std::from_chars(first, last, value, fmt);
}
}; // namespace Common
} // namespace Common
std::string TabsToSpaces(int tab_size, std::string str);
+1 -1
View File
@@ -69,4 +69,4 @@ OSVERSIONINFOW GetOSVersion()
}
return info;
}
}; // namespace WindowsRegistry
} // namespace WindowsRegistry
+1 -1
View File
@@ -15,4 +15,4 @@ template <>
bool ReadValue(std::string* value, const std::string& subkey, const std::string& name);
OSVERSIONINFOW GetOSVersion();
}; // namespace WindowsRegistry
} // namespace WindowsRegistry
+1 -1
View File
@@ -170,7 +170,7 @@ private:
void FetchBoardInfo(AchievementId leaderboard_id);
std::unique_ptr<DiscIO::Volume>& GetLoadingVolume() { return m_loading_volume; };
std::unique_ptr<DiscIO::Volume>& GetLoadingVolume() { return m_loading_volume; }
static void LoadGameCallback(int result, const char* error_message, rc_client_t* client,
void* userdata);
+1 -1
View File
@@ -18,7 +18,7 @@ class IniFile;
namespace Core
{
class CPUThreadGuard;
};
}
namespace ActionReplay
{
+1 -1
View File
@@ -24,7 +24,7 @@ public:
bool IsValid() const override { return m_is_valid; }
bool IsWii() const override { return m_is_wii; }
bool IsAncast() const { return m_is_ancast; };
bool IsAncast() const { return m_is_ancast; }
u32 GetEntryPoint() const override { return m_dolheader.entryPoint; }
bool LoadIntoMemory(Core::System& system, bool only_in_mem1 = false) const override;
bool LoadSymbols(const Core::CPUThreadGuard& guard, PPCSymbolDB& ppc_symbol_db) const override
+2 -2
View File
@@ -38,7 +38,7 @@ void OnConfigChanged()
}
}
}; // namespace
} // namespace
namespace CPUThreadConfigCallback
{
@@ -73,4 +73,4 @@ void CheckForConfigChanges()
RunCallbacks();
}
}; // namespace CPUThreadConfigCallback
} // namespace CPUThreadConfigCallback
+1 -1
View File
@@ -27,4 +27,4 @@ void RemoveConfigChangedCallback(ConfigChangedCallbackID callback_id);
// Should be called regularly from the CPU thread
void CheckForConfigChanges();
}; // namespace CPUThreadConfigCallback
} // namespace CPUThreadConfigCallback
+1 -1
View File
@@ -17,7 +17,7 @@
namespace Core
{
class CPUThreadGuard;
};
}
namespace Cheats
{
+1 -1
View File
@@ -142,7 +142,7 @@ public:
m_collection_pf.size();
}
std::size_t GetBlacklistSize() const { return m_blacklist_size; }
Phase GetRecordingPhase() const { return m_recording_phase; };
Phase GetRecordingPhase() const { return m_recording_phase; }
// An empty selection in reduction mode can't be reconstructed when loading from a file.
bool CanSave() const { return !(m_recording_phase == Phase::Reduction && m_selection.empty()); }
+1 -1
View File
@@ -13,7 +13,7 @@
namespace Core
{
class CPUThreadGuard;
};
}
namespace Core::Debug
{
+1 -1
View File
@@ -16,7 +16,7 @@ class PPCSymbolDB;
namespace Core
{
class CPUThreadGuard;
};
}
struct RSOEntry
{
+1 -1
View File
@@ -14,7 +14,7 @@ class PointerWrap;
namespace Core
{
class CPUThreadGuard;
};
}
namespace Gecko
{
+1 -1
View File
@@ -6,7 +6,7 @@
namespace Core
{
class CPUThreadGuard;
};
}
namespace HLE_Misc
{
+1 -1
View File
@@ -11,7 +11,7 @@
namespace Core
{
class CPUThreadGuard;
};
}
namespace HLE_OS
{

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