1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

LibJS: run clang-format on all the files

This commit is contained in:
Emanuele Torre 2020-05-04 13:30:40 +02:00 committed by Andreas Kling
parent 30519c22f6
commit 8bd9f7e50e
8 changed files with 25 additions and 25 deletions

View file

@ -50,7 +50,7 @@ create_ast_node(Args&&... args)
class ASTNode : public RefCounted<ASTNode> {
public:
virtual ~ASTNode() {}
virtual ~ASTNode() { }
virtual const char* class_name() const = 0;
virtual Value execute(Interpreter&) const = 0;
virtual void dump(int indent) const;
@ -63,7 +63,7 @@ public:
virtual bool is_new_expression() const { return false; }
protected:
ASTNode() {}
ASTNode() { }
private:
};
@ -120,7 +120,7 @@ public:
const NonnullRefPtrVector<VariableDeclaration>& variables() const { return m_variables; }
protected:
ScopeNode() {}
ScopeNode() { }
private:
virtual bool is_scope_node() const final { return true; }
@ -130,7 +130,7 @@ private:
class Program : public ScopeNode {
public:
Program() {}
Program() { }
private:
virtual bool is_program() const override { return true; }
@ -139,7 +139,7 @@ private:
class BlockStatement : public ScopeNode {
public:
BlockStatement() {}
BlockStatement() { }
private:
virtual const char* class_name() const override { return "BlockStatement"; }
@ -454,7 +454,7 @@ private:
class Literal : public Expression {
protected:
explicit Literal() {}
explicit Literal() { }
};
class BooleanLiteral final : public Literal {
@ -507,7 +507,7 @@ private:
class NullLiteral final : public Literal {
public:
explicit NullLiteral() {}
explicit NullLiteral() { }
virtual Value execute(Interpreter&) const override;
virtual void dump(int indent) const override;
@ -935,7 +935,7 @@ private:
class BreakStatement final : public Statement {
public:
BreakStatement() {}
BreakStatement() { }
virtual Value execute(Interpreter&) const override;
@ -945,7 +945,7 @@ private:
class ContinueStatement final : public Statement {
public:
ContinueStatement() {}
ContinueStatement() { }
virtual Value execute(Interpreter&) const override;
@ -955,7 +955,7 @@ private:
class DebuggerStatement final : public Statement {
public:
DebuggerStatement() {}
DebuggerStatement() { }
virtual Value execute(Interpreter&) const override;