summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-07 17:13:23 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-07 17:13:23 +0200
commit39d1a9ae668fea86724a23f29497892664f703ed (patch)
treea14df3d0f04b442ff90465e34462c66fbb209925 /Kernel/FileSystem
parent9145917bf017cabcb797cf97bf21c139f6507c53 (diff)
downloadserenity-39d1a9ae668fea86724a23f29497892664f703ed.zip
Meta: Tweak .clang-format to not wrap braces after enums.
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r--Kernel/FileSystem/FIFO.h3
-rw-r--r--Kernel/FileSystem/FileDescription.h2
-rw-r--r--Kernel/FileSystem/ProcFS.cpp9
3 files changed, 5 insertions, 9 deletions
diff --git a/Kernel/FileSystem/FIFO.h b/Kernel/FileSystem/FIFO.h
index 8cbb60513a..baad9bd8a1 100644
--- a/Kernel/FileSystem/FIFO.h
+++ b/Kernel/FileSystem/FIFO.h
@@ -8,8 +8,7 @@ class FileDescription;
class FIFO final : public File {
public:
- enum class Direction : byte
- {
+ enum class Direction : byte {
Neither,
Reader,
Writer
diff --git a/Kernel/FileSystem/FileDescription.h b/Kernel/FileSystem/FileDescription.h
index e107d8255a..4c8e0175e7 100644
--- a/Kernel/FileSystem/FileDescription.h
+++ b/Kernel/FileSystem/FileDescription.h
@@ -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;
diff --git a/Kernel/FileSystem/ProcFS.cpp b/Kernel/FileSystem/ProcFS.cpp
index 94e4218604..c7fdff4916 100644
--- a/Kernel/FileSystem/ProcFS.cpp
+++ b/Kernel/FileSystem/ProcFS.cpp
@@ -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,