mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +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
|
@ -8,8 +8,7 @@ class FileDescription;
|
|||
|
||||
class FIFO final : public File {
|
||||
public:
|
||||
enum class Direction : byte
|
||||
{
|
||||
enum class Direction : byte {
|
||||
Neither,
|
||||
Reader,
|
||||
Writer
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
#include <Kernel/FileSystem/Inode.h>
|
||||
#include <Kernel/FileSystem/InodeMetadata.h>
|
||||
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
||||
#include <Kernel/VirtualAddress.h>
|
||||
#include <Kernel/Net/Socket.h>
|
||||
#include <Kernel/VirtualAddress.h>
|
||||
|
||||
class File;
|
||||
class TTY;
|
||||
|
|
|
@ -14,8 +14,7 @@
|
|||
#include <Kernel/kmalloc.h>
|
||||
#include <LibC/errno_numbers.h>
|
||||
|
||||
enum ProcParentDirectory
|
||||
{
|
||||
enum ProcParentDirectory {
|
||||
PDI_AbstractRoot = 0,
|
||||
PDI_Root,
|
||||
PDI_Root_sys,
|
||||
|
@ -23,8 +22,7 @@ enum ProcParentDirectory
|
|||
PDI_PID_fd,
|
||||
};
|
||||
|
||||
enum ProcFileType
|
||||
{
|
||||
enum ProcFileType {
|
||||
FI_Invalid = 0,
|
||||
|
||||
FI_Root = 1, // directory
|
||||
|
@ -601,8 +599,7 @@ ByteBuffer procfs$inodes(InodeIdentifier)
|
|||
struct SysVariableData final : public ProcFSInodeCustomData {
|
||||
virtual ~SysVariableData() override {}
|
||||
|
||||
enum Type
|
||||
{
|
||||
enum Type {
|
||||
Invalid,
|
||||
Boolean,
|
||||
String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue