Run clang-format on project

This commit is contained in:
apio 2022-08-03 15:30:35 +00:00
parent 02a65ebb58
commit cc5013ec6f
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
#include "UnaryOpNode.h"
UnaryOpNode::UnaryOpNode(std::shared_ptr<ExprNode> operand)
: operand(operand), ExprNode()
UnaryOpNode::UnaryOpNode(std::shared_ptr<ExprNode> operand) : operand(operand), ExprNode()
{
}

View File

@ -19,7 +19,7 @@ std::shared_ptr<ASTNode> Parser::parse()
if (result.is_error()) result.ethrow();
if (current_token->tk_type != TT_EOF)
{
Err<ExprNode>("expected *, /, + or -",current_token).ethrow();
Err<ExprNode>("expected *, /, + or -", current_token).ethrow();
}
return result.get();
}