mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 23:29:52 +00:00
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:
parent
397774d422
commit
bf1f631f25
Notes:
sideshowbarker
2024-07-16 23:34:49 +09:00
Author: https://github.com/BertalanD
Commit: bf1f631f25
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/44
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/trflynn89
26 changed files with 42 additions and 9 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue