mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +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
Notes:
sideshowbarker
2024-07-19 06:06:31 +09:00
Author: https://github.com/emanuele6
Commit: d1bc1f5783
Pull-request: https://github.com/SerenityOS/serenity/pull/2403
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