1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:37:45 +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

@ -28,8 +28,7 @@ private:
int m_history_cursor { 0 };
int m_history_capacity { 100 };
enum class InputState
{
enum class InputState {
Free,
ExpectBracket,
ExpectFinal,

View file

@ -4,8 +4,7 @@
#include <AK/Vector.h>
struct Redirection {
enum Type
{
enum Type {
Pipe,
FileWrite,
FileWriteAppend,
@ -44,8 +43,7 @@ private:
void begin_redirect_read(int fd);
void begin_redirect_write(int fd);
enum State
{
enum State {
Free,
InSingleQuotes,
InDoubleQuotes,