mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 09:36:08 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
Notes:
sideshowbarker
2024-07-17 16:21:09 +09:00
Author: https://github.com/IdanHo
Commit: 086969277e
Pull-request: https://github.com/SerenityOS/serenity/pull/12321
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/bgianfo ✅
1665 changed files with 8479 additions and 8479 deletions
|
@ -178,31 +178,31 @@ public:
|
|||
m_value.as_i32 = value;
|
||||
}
|
||||
|
||||
Value(const Object* object)
|
||||
Value(Object const* object)
|
||||
: m_type(object ? Type::Object : Type::Null)
|
||||
{
|
||||
m_value.as_object = const_cast<Object*>(object);
|
||||
}
|
||||
|
||||
Value(const PrimitiveString* string)
|
||||
Value(PrimitiveString const* string)
|
||||
: m_type(Type::String)
|
||||
{
|
||||
m_value.as_string = const_cast<PrimitiveString*>(string);
|
||||
}
|
||||
|
||||
Value(const Symbol* symbol)
|
||||
Value(Symbol const* symbol)
|
||||
: m_type(Type::Symbol)
|
||||
{
|
||||
m_value.as_symbol = const_cast<Symbol*>(symbol);
|
||||
}
|
||||
|
||||
Value(const Accessor* accessor)
|
||||
Value(Accessor const* accessor)
|
||||
: m_type(Type::Accessor)
|
||||
{
|
||||
m_value.as_accessor = const_cast<Accessor*>(accessor);
|
||||
}
|
||||
|
||||
Value(const BigInt* bigint)
|
||||
Value(BigInt const* bigint)
|
||||
: m_type(Type::BigInt)
|
||||
{
|
||||
m_value.as_bigint = const_cast<BigInt*>(bigint);
|
||||
|
@ -235,7 +235,7 @@ public:
|
|||
return *m_value.as_object;
|
||||
}
|
||||
|
||||
const Object& as_object() const
|
||||
Object const& as_object() const
|
||||
{
|
||||
VERIFY(type() == Type::Object);
|
||||
return *m_value.as_object;
|
||||
|
@ -247,7 +247,7 @@ public:
|
|||
return *m_value.as_string;
|
||||
}
|
||||
|
||||
const PrimitiveString& as_string() const
|
||||
PrimitiveString const& as_string() const
|
||||
{
|
||||
VERIFY(is_string());
|
||||
return *m_value.as_string;
|
||||
|
@ -259,7 +259,7 @@ public:
|
|||
return *m_value.as_symbol;
|
||||
}
|
||||
|
||||
const Symbol& as_symbol() const
|
||||
Symbol const& as_symbol() const
|
||||
{
|
||||
VERIFY(is_symbol());
|
||||
return *m_value.as_symbol;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue