misc: run clang-format

This commit is contained in:
2024-05-04 12:11:03 +02:00
parent ed3599ce95
commit 3ff52a2562
17 changed files with 59 additions and 60 deletions

View File

@@ -1,7 +1,7 @@
#include <fcntl.h>
extern void exit(int code);
extern int main ();
extern int main();
extern void __libc_init_array();
extern void __libc_fini_array();

View File

@@ -4871,8 +4871,7 @@ static constexpr std::array<std::array<uint8_t, 16>, 256> fonts_Terminess_Powerl
0b00000000,
0b00000000,
0b00000000,
}
};
}};
#endif //FONTS_HPP

View File

@@ -6,9 +6,9 @@
#define FRAMEBUFFER_HPP
#include <utility>
#include <cstddef>
#include <cstdint>
#include <utility>
class Framebuffer {

View File

@@ -220,7 +220,7 @@ protected:
using pointer = value_type *;
using reference = value_type &;
explicit SkipListBaseIteratorBase(Node *n) : n(std::move(n)){};
explicit SkipListBaseIteratorBase(Node *n) : n(std::move(n)) {};
reference operator*() const { return n->get(); }

View File

@@ -7,7 +7,7 @@
#include "Filesystem.hpp"
Node::~ Node() = default;
Node::~Node() = default;
SharedPtr<Node> Node::traverse(const Path &path) {
Filesystem *mnt;

View File

@@ -21,7 +21,7 @@ public:
namespace VFSGlobals {
extern RootNode root;
extern MountTable mounts;
}; // namespace VFSGlobals
} // namespace VFSGlobals
#endif //FICUS_VFSGLOBALS_HPP

View File

@@ -232,7 +232,7 @@ public:
using pointer = value_type *;
using reference = value_type &;
CRangeListIterator(CRangeListIterator const &it) : it(it.it){};
CRangeListIterator(CRangeListIterator const &it) : it(it.it) {};
CRangeListIterator(decltype(data)::const_iterator it, decltype(data)::const_iterator end) : it(it), end(end) {
if (it != end && !it->second.second)