From 8e49bae3f10c9b32ace06e00c87fd71e69593902 Mon Sep 17 00:00:00 2001 From: cristian64 Date: Fri, 12 Jul 2024 23:07:54 +0100 Subject: [PATCH] Re-format `Source` directory with Clang-Format 18. Only minor changes in two files. --- Source/Common/CommonUtils.h | 6 +++--- Source/main.cpp | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Source/Common/CommonUtils.h b/Source/Common/CommonUtils.h index 68c53eac..2ff1768c 100644 --- a/Source/Common/CommonUtils.h +++ b/Source/Common/CommonUtils.h @@ -5,14 +5,14 @@ #elif _WIN32 #include #elif __APPLE__ -#define bswap_16(value) (static_cast((((value)&0xff) << 8) | ((value) >> 8))) +#define bswap_16(value) (static_cast((((value) & 0xff) << 8) | ((value) >> 8))) #define bswap_32(value) \ - (((uint32_t)bswap_16((uint16_t)((value)&0xffff)) << 16) | \ + (((uint32_t)bswap_16((uint16_t)((value) & 0xffff)) << 16) | \ (uint32_t)bswap_16((uint16_t)((value) >> 16))) #define bswap_64(value) \ - (((uint64_t)bswap_32((uint32_t)((value)&0xffffffff)) << 32) | \ + (((uint64_t)bswap_32((uint32_t)((value) & 0xffffffff)) << 32) | \ (uint64_t)bswap_32((uint32_t)((value) >> 32))) #endif diff --git a/Source/main.cpp b/Source/main.cpp index 8e749fa3..4261d7bd 100644 --- a/Source/main.cpp +++ b/Source/main.cpp @@ -21,8 +21,7 @@ int main(int argc, char** argv) parser.addVersionOption(); const QCommandLineOption dolphinProcessNameOption( - QStringList() << "d" - << "dolphin-process-name", + QStringList() << "d" << "dolphin-process-name", QObject::tr("Specify custom name for the Dolphin Emulator process. By default, " "platform-specific names are used (e.g. \"Dolphin.exe\" on Windows, or " "\"dolphin-emu\" on Linux or macOS)."),