mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:17:36 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue