Iternals: Fix AstSplitPlaceholder, it is a statement (#6280) (#6309)

This commit is contained in:
Geza Lore 2025-08-19 11:14:28 +01:00 committed by GitHub
parent 6b9cc8a36e
commit 6a67c0a0e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View File

@ -1616,13 +1616,6 @@ public:
bool hasCombo() const; // Includes a COMBO SenItem
bool hasHybrid() const; // Includes a HYBRID SenItem
};
class AstSplitPlaceholder final : public AstNode {
public:
// Dummy node used within V3Split; never exists outside of V3Split.
explicit AstSplitPlaceholder(FileLine* fl)
: ASTGEN_SUPER_SplitPlaceholder(fl) {}
ASTGEN_MEMBERS_AstSplitPlaceholder;
};
class AstStrengthSpec final : public AstNode {
VStrength m_s0; // Drive 0 strength
VStrength m_s1; // Drive 1 strength

View File

@ -815,6 +815,13 @@ public:
ASTGEN_MEMBERS_AstSetuphold;
bool sameNode(const AstNode* /*samep*/) const override { return true; }
};
class AstSplitPlaceholder final : public AstNodeStmt {
public:
// Dummy node used within V3Split; never exists outside of V3Split.
explicit AstSplitPlaceholder(FileLine* fl)
: ASTGEN_SUPER_SplitPlaceholder(fl) {}
ASTGEN_MEMBERS_AstSplitPlaceholder;
};
class AstStackTraceT final : public AstNodeStmt {
// $stacktrace used as task
public: