mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
CodeGenerators: Fix clang-18 crash by specifying types explicitly
clang 18.1.8 was crashing during the build without this change. Filed a bug report here: https://github.com/llvm/llvm-project/issues/128359 Co-authored-by: Tim Flynn <trflynn89@pm.me>
This commit is contained in:
@@ -111,7 +111,7 @@ ErrorOr<void> generate_implementation_file(JsonObject& enums_data, Core::File& f
|
|||||||
namespace Web::CSS {
|
namespace Web::CSS {
|
||||||
)~~~");
|
)~~~");
|
||||||
|
|
||||||
enums_data.for_each_member([&](auto& name, auto& value) -> void {
|
enums_data.for_each_member([&](String const& name, JsonValue const& value) {
|
||||||
VERIFY(value.is_array());
|
VERIFY(value.is_array());
|
||||||
auto& members = value.as_array();
|
auto& members = value.as_array();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user