1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

LibWeb/IDL/Codegen: Generate cpp_type for enums

This commit is contained in:
stelar7 2023-12-15 21:02:06 +01:00 committed by Andrew Kaster
parent 3f4ed782b4
commit 02a85d8259

View file

@ -228,6 +228,9 @@ CppType idl_type_name_to_cpp_type(Type const& type, Interface const& interface)
}
}
if (interface.enumerations.contains(type.name()))
return { .name = type.name(), .sequence_storage_type = SequenceStorageType::Vector };
dbgln("Unimplemented type for idl_type_name_to_cpp_type: {}{}", type.name(), type.is_nullable() ? "?" : "");
TODO();
}