mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
Meta: Tweak .clang-format to not wrap braces after enums.
This commit is contained in:
parent
9145917bf0
commit
39d1a9ae66
97 changed files with 186 additions and 312 deletions
|
@ -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)); }
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -6,8 +6,7 @@ class IRCLogBuffer;
|
|||
|
||||
class IRCLogBufferModel final : public GModel {
|
||||
public:
|
||||
enum Column
|
||||
{
|
||||
enum Column {
|
||||
Timestamp = 0,
|
||||
Name,
|
||||
Text,
|
||||
|
|
|
@ -11,8 +11,7 @@ class GTextEditor;
|
|||
|
||||
class IRCWindow : public GWidget {
|
||||
public:
|
||||
enum Type
|
||||
{
|
||||
enum Type {
|
||||
Server,
|
||||
Channel,
|
||||
Query,
|
||||
|
|
|
@ -8,8 +8,7 @@ class IRCWindow;
|
|||
|
||||
class IRCWindowListModel final : public GModel {
|
||||
public:
|
||||
enum Column
|
||||
{
|
||||
enum Column {
|
||||
Name,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue