1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:17:35 +00:00

Meta: Tweak .clang-format to not wrap braces after enums.

This commit is contained in:
Andreas Kling 2019-06-07 17:13:23 +02:00
parent 9145917bf0
commit 39d1a9ae66
97 changed files with 186 additions and 312 deletions

View file

@ -128,8 +128,7 @@ inline bool is_valid_final_character(byte ch)
return ch >= 0x40 && ch <= 0x7e;
}
enum class VGAColor : byte
{
enum class VGAColor : byte {
Black = 0,
Blue,
Green,
@ -148,8 +147,7 @@ enum class VGAColor : byte
White,
};
enum class ANSIColor : byte
{
enum class ANSIColor : byte {
Black = 0,
Red,
Green,

View file

@ -9,8 +9,7 @@ class VirtualConsole final : public TTY
, public ConsoleImplementation {
AK_MAKE_ETERNAL
public:
enum InitialContents
{
enum InitialContents {
Cleared,
AdoptCurrentVGABuffer
};
@ -73,8 +72,7 @@ private:
void execute_escape_sequence(byte final);
enum EscapeState
{
enum EscapeState {
Normal,
ExpectBracket,
ExpectParameter,