mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:57:45 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
8639d8bc21
commit
d26aabff04
140 changed files with 1202 additions and 723 deletions
|
@ -7,7 +7,7 @@
|
|||
#ifndef _ASSERT_H
|
||||
# define _ASSERT_H
|
||||
|
||||
# define __stringify_helper(x) # x
|
||||
# define __stringify_helper(x) #x
|
||||
# define __stringify(x) __stringify_helper(x)
|
||||
|
||||
# ifndef __cplusplus
|
||||
|
|
|
@ -276,7 +276,7 @@ bool FILE::gets(T* data, size_t size)
|
|||
if (m_buffer.may_use()) {
|
||||
// Let's see if the buffer has something queued for us.
|
||||
size_t queued_size;
|
||||
const T* queued_data = bit_cast<const T*>(m_buffer.begin_dequeue(queued_size));
|
||||
T const* queued_data = bit_cast<T const*>(m_buffer.begin_dequeue(queued_size));
|
||||
queued_size /= sizeof(T);
|
||||
if (queued_size == 0) {
|
||||
// Nothing buffered; we're going to have to read some.
|
||||
|
|
|
@ -8,7 +8,9 @@ extern "C" {
|
|||
|
||||
#define DO_STUB(name) \
|
||||
void name(); \
|
||||
void name() { }
|
||||
void name() \
|
||||
{ \
|
||||
}
|
||||
|
||||
DO_STUB(__register_frame_info);
|
||||
DO_STUB(__deregister_frame_info);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue