Update .clang-format rules

This commit is contained in:
Maschell 2022-02-03 14:01:11 +01:00
parent 4512de73da
commit c56897cc75
8 changed files with 64 additions and 66 deletions

View File

@ -2,7 +2,7 @@
BasedOnStyle: LLVM BasedOnStyle: LLVM
AccessModifierOffset: -4 AccessModifierOffset: -4
AlignAfterOpenBracket: Align AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: None AlignConsecutiveAssignments: Consecutive
AlignConsecutiveMacros: AcrossEmptyLinesAndComments AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignOperands: Align AlignOperands: Align
AllowAllArgumentsOnNextLine: false AllowAllArgumentsOnNextLine: false

View File

@ -7,7 +7,6 @@
#include <string> #include <string>
#include <vector> #include <vector>
// clang-format off
#define COLOR_WHITE Color(0xffffffff) #define COLOR_WHITE Color(0xffffffff)
#define COLOR_BLACK Color(0, 0, 0, 255) #define COLOR_BLACK Color(0, 0, 0, 255)
#define COLOR_BACKGROUND COLOR_BLACK #define COLOR_BACKGROUND COLOR_BLACK
@ -16,7 +15,6 @@
#define COLOR_AUTOBOOT Color(0xaeea00ff) #define COLOR_AUTOBOOT Color(0xaeea00ff)
#define COLOR_BORDER Color(204, 204, 204, 255) #define COLOR_BORDER Color(204, 204, 204, 255)
#define COLOR_BORDER_HIGHLIGHTED Color(0x3478e4ff) #define COLOR_BORDER_HIGHLIGHTED Color(0x3478e4ff)
// clang-format on
enum { enum {
BOOT_OPTION_WII_U_MENU, BOOT_OPTION_WII_U_MENU,