mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:17:45 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -21,7 +21,7 @@ class SourceLocation {
|
|||
AK_MAKE_NONCOPYABLE(SourceLocation);
|
||||
|
||||
public:
|
||||
const char* filename() const { return m_filename; }
|
||||
char const* filename() const { return m_filename; }
|
||||
u32 line() const { return m_line; }
|
||||
u32 column() const { return m_column; }
|
||||
|
||||
|
@ -52,7 +52,7 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
const char* m_filename { nullptr };
|
||||
char const* m_filename { nullptr };
|
||||
u32 m_line { 0 };
|
||||
u32 m_column { 0 };
|
||||
};
|
||||
|
@ -65,7 +65,7 @@ enum TypeKind : u16 {
|
|||
|
||||
class TypeDescriptor {
|
||||
public:
|
||||
const char* name() const { return m_name; }
|
||||
char const* name() const { return m_name; }
|
||||
TypeKind kind() const { return (TypeKind)m_kind; }
|
||||
bool is_integer() const { return kind() == TypeKind::Integer; }
|
||||
bool is_signed() const { return m_info & 1; }
|
||||
|
@ -80,7 +80,7 @@ private:
|
|||
|
||||
struct InvalidValueData {
|
||||
SourceLocation location;
|
||||
const TypeDescriptor& type;
|
||||
TypeDescriptor const& type;
|
||||
};
|
||||
|
||||
struct NonnullArgData {
|
||||
|
@ -95,29 +95,29 @@ struct NonnullReturnData {
|
|||
|
||||
struct OverflowData {
|
||||
SourceLocation location;
|
||||
const TypeDescriptor& type;
|
||||
TypeDescriptor const& type;
|
||||
};
|
||||
|
||||
struct VLABoundData {
|
||||
SourceLocation location;
|
||||
const TypeDescriptor& type;
|
||||
TypeDescriptor const& type;
|
||||
};
|
||||
|
||||
struct ShiftOutOfBoundsData {
|
||||
SourceLocation location;
|
||||
const TypeDescriptor& lhs_type;
|
||||
const TypeDescriptor& rhs_type;
|
||||
TypeDescriptor const& lhs_type;
|
||||
TypeDescriptor const& rhs_type;
|
||||
};
|
||||
|
||||
struct OutOfBoundsData {
|
||||
SourceLocation location;
|
||||
const TypeDescriptor& array_type;
|
||||
const TypeDescriptor& index_type;
|
||||
TypeDescriptor const& array_type;
|
||||
TypeDescriptor const& index_type;
|
||||
};
|
||||
|
||||
struct TypeMismatchData {
|
||||
SourceLocation location;
|
||||
const TypeDescriptor& type;
|
||||
TypeDescriptor const& type;
|
||||
u8 log_alignment;
|
||||
u8 type_check_kind;
|
||||
};
|
||||
|
@ -125,7 +125,7 @@ struct TypeMismatchData {
|
|||
struct AlignmentAssumptionData {
|
||||
SourceLocation location;
|
||||
SourceLocation assumption_location;
|
||||
const TypeDescriptor& type;
|
||||
TypeDescriptor const& type;
|
||||
};
|
||||
|
||||
struct UnreachableData {
|
||||
|
@ -134,8 +134,8 @@ struct UnreachableData {
|
|||
|
||||
struct ImplicitConversionData {
|
||||
SourceLocation location;
|
||||
const TypeDescriptor& from_type;
|
||||
const TypeDescriptor& to_type;
|
||||
TypeDescriptor const& from_type;
|
||||
TypeDescriptor const& to_type;
|
||||
/* ImplicitConversionCheckKind */ unsigned char kind;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue