Everywhere: Write dtors for types with incomplete members out-of-line

These are rejected by Clang (19) trunk as a result of
https://github.com/llvm/llvm-project/pull/77753.
This commit is contained in:
Daniel Bertalan
2024-06-16 10:38:35 +02:00
committed by Tim Flynn
parent 397774d422
commit bf1f631f25
26 changed files with 42 additions and 9 deletions

View File

@@ -19,6 +19,8 @@ class SourceTextModule final : public CyclicModule {
JS_DECLARE_ALLOCATOR(SourceTextModule);
public:
virtual ~SourceTextModule() override;
static Result<NonnullGCPtr<SourceTextModule>, Vector<ParserError>> parse(StringView source_text, Realm&, StringView filename = {}, Script::HostDefined* host_defined = nullptr);
Program const& parse_node() const { return *m_ecmascript_code; }