diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-07 17:13:23 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-07 17:13:23 +0200 |
commit | 39d1a9ae668fea86724a23f29497892664f703ed (patch) | |
tree | a14df3d0f04b442ff90465e34462c66fbb209925 /Applications/IRCClient | |
parent | 9145917bf017cabcb797cf97bf21c139f6507c53 (diff) | |
download | serenity-39d1a9ae668fea86724a23f29497892664f703ed.zip |
Meta: Tweak .clang-format to not wrap braces after enums.
Diffstat (limited to 'Applications/IRCClient')
-rw-r--r-- | Applications/IRCClient/IRCChannelMemberListModel.h | 3 | ||||
-rw-r--r-- | Applications/IRCClient/IRCClient.cpp | 6 | ||||
-rw-r--r-- | Applications/IRCClient/IRCLogBufferModel.h | 3 | ||||
-rw-r--r-- | Applications/IRCClient/IRCWindow.h | 3 | ||||
-rw-r--r-- | Applications/IRCClient/IRCWindowListModel.h | 3 |
5 files changed, 6 insertions, 12 deletions
diff --git a/Applications/IRCClient/IRCChannelMemberListModel.h b/Applications/IRCClient/IRCChannelMemberListModel.h index ac380ec62d..df0e762264 100644 --- a/Applications/IRCClient/IRCChannelMemberListModel.h +++ b/Applications/IRCClient/IRCChannelMemberListModel.h @@ -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)); } diff --git a/Applications/IRCClient/IRCClient.cpp b/Applications/IRCClient/IRCClient.cpp index 051d82540d..9a89780622 100644 --- a/Applications/IRCClient/IRCClient.cpp +++ b/Applications/IRCClient/IRCClient.cpp @@ -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, diff --git a/Applications/IRCClient/IRCLogBufferModel.h b/Applications/IRCClient/IRCLogBufferModel.h index d5479da887..5be8237d07 100644 --- a/Applications/IRCClient/IRCLogBufferModel.h +++ b/Applications/IRCClient/IRCLogBufferModel.h @@ -6,8 +6,7 @@ class IRCLogBuffer; class IRCLogBufferModel final : public GModel { public: - enum Column - { + enum Column { Timestamp = 0, Name, Text, diff --git a/Applications/IRCClient/IRCWindow.h b/Applications/IRCClient/IRCWindow.h index f8fe692542..2fce542fe5 100644 --- a/Applications/IRCClient/IRCWindow.h +++ b/Applications/IRCClient/IRCWindow.h @@ -11,8 +11,7 @@ class GTextEditor; class IRCWindow : public GWidget { public: - enum Type - { + enum Type { Server, Channel, Query, diff --git a/Applications/IRCClient/IRCWindowListModel.h b/Applications/IRCClient/IRCWindowListModel.h index 93fa6b6abd..47e4621c96 100644 --- a/Applications/IRCClient/IRCWindowListModel.h +++ b/Applications/IRCClient/IRCWindowListModel.h @@ -8,8 +8,7 @@ class IRCWindow; class IRCWindowListModel final : public GModel { public: - enum Column - { + enum Column { Name, }; |