1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:57:46 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -23,7 +23,7 @@ class LineIterator {
public:
explicit LineIterator(IODevice&, bool is_end = false);
bool operator==(const LineIterator& other) const { return &other == this || (at_end() && other.is_end()) || (other.at_end() && is_end()); }
bool operator==(LineIterator const& other) const { return &other == this || (at_end() && other.is_end()) || (other.at_end() && is_end()); }
bool is_end() const { return m_is_end; }
bool at_end() const;
@ -81,7 +81,7 @@ public:
bool eof() const { return m_eof; }
int error() const { return m_error; }
const char* error_string() const;
char const* error_string() const;
bool has_error() const { return m_error != 0; }
@ -91,7 +91,7 @@ public:
ByteBuffer read_all();
String read_line(size_t max_size = 16384);
bool write(const u8*, int size);
bool write(u8 const*, int size);
bool write(StringView);
bool truncate(off_t);