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

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -31,7 +31,7 @@ namespace JS {
struct ExecutingASTNodeChain {
ExecutingASTNodeChain* previous { nullptr };
const ASTNode& node;
ASTNode const& node;
};
class Interpreter : public Weakable<Interpreter> {
@ -107,7 +107,7 @@ public:
ThrowCompletionOr<Value> run(SourceTextModule&);
GlobalObject& global_object();
const GlobalObject& global_object() const;
GlobalObject const& global_object() const;
Realm& realm();
Realm const& realm() const;
@ -130,7 +130,7 @@ public:
m_ast_node_chain = m_ast_node_chain->previous;
}
const ASTNode* current_node() const { return m_ast_node_chain ? &m_ast_node_chain->node : nullptr; }
ASTNode const* current_node() const { return m_ast_node_chain ? &m_ast_node_chain->node : nullptr; }
private:
explicit Interpreter(VM&);