mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:37:37 +00:00
LibJS: Fix style inconsistencies in AST.h (#2403)
Our current configuration clang-format allows both of these styles: ------------------ class A : B , C { ----------------- class A : B , C { ------------------ I was not able to find a setting of clang-format to only allow the latter style (or disallow the first style), but let's at least be consistent with the style within a file.
This commit is contained in:
parent
11405c5139
commit
d1bc1f5783
1 changed files with 2 additions and 1 deletions
|
@ -207,7 +207,8 @@ private:
|
||||||
virtual const char* class_name() const override { return "FunctionDeclaration"; }
|
virtual const char* class_name() const override { return "FunctionDeclaration"; }
|
||||||
};
|
};
|
||||||
|
|
||||||
class FunctionExpression final : public Expression
|
class FunctionExpression final
|
||||||
|
: public Expression
|
||||||
, public FunctionNode {
|
, public FunctionNode {
|
||||||
public:
|
public:
|
||||||
static bool must_have_name() { return false; }
|
static bool must_have_name() { return false; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue