1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03: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

@ -26,8 +26,7 @@ public:
Function<void(const StringView&)> on_status_message;
Function<void(int done, int total)> on_thumbnail_progress;
enum ViewMode
{
enum ViewMode {
Invalid,
List,
Icon

View file

@ -7,8 +7,7 @@ class IRCChannel;
class IRCChannelMemberListModel final : public GModel {
public:
enum Column
{
enum Column {
Name
};
static Retained<IRCChannelMemberListModel> create(IRCChannel& channel) { return adopt(*new IRCChannelMemberListModel(channel)); }

View file

@ -14,8 +14,7 @@
#define IRC_DEBUG
enum IRCNumeric
{
enum IRCNumeric {
RPL_WHOISUSER = 311,
RPL_WHOISSERVER = 312,
RPL_WHOISOPERATOR = 313,
@ -106,8 +105,7 @@ void IRCClient::process_line(ByteBuffer&& line)
Vector<char, 32> prefix;
Vector<char, 32> command;
Vector<char, 256> current_parameter;
enum
{
enum {
Start,
InPrefix,
InCommand,

View file

@ -6,8 +6,7 @@ class IRCLogBuffer;
class IRCLogBufferModel final : public GModel {
public:
enum Column
{
enum Column {
Timestamp = 0,
Name,
Text,

View file

@ -11,8 +11,7 @@ class GTextEditor;
class IRCWindow : public GWidget {
public:
enum Type
{
enum Type {
Server,
Channel,
Query,

View file

@ -8,8 +8,7 @@ class IRCWindow;
class IRCWindowListModel final : public GModel {
public:
enum Column
{
enum Column {
Name,
};

View file

@ -11,8 +11,7 @@ class GraphWidget;
class ProcessModel final : public GModel {
public:
enum Column
{
enum Column {
Icon = 0,
Name,
CPU,

View file

@ -98,8 +98,7 @@ private:
byte foreground_color;
byte background_color;
enum Flags
{
enum Flags {
NoAttributes = 0x00,
Bold = 0x01,
Italic = 0x02,
@ -160,8 +159,7 @@ private:
void execute_escape_sequence(byte final);
void execute_xterm_command();
enum EscapeState
{
enum EscapeState {
Normal,
ExpectBracket,
ExpectParameter,