LibUnicode: Remove now-unused code generator facilities

This commit is contained in:
Timothy Flynn 2024-06-21 15:32:38 -04:00 committed by Andreas Kling
commit 2ba7b4c529
Notes: sideshowbarker 2024-07-17 07:43:05 +09:00
2 changed files with 0 additions and 67 deletions

View file

@ -14,18 +14,6 @@
namespace Unicode {
struct CodePointRange {
u32 first { 0 };
u32 last { 0 };
};
struct CodePointRangeComparator {
constexpr int operator()(u32 code_point, CodePointRange const& range)
{
return (code_point > range.last) - (code_point < range.first);
}
};
Optional<GeneralCategory> general_category_from_string(StringView);
bool code_point_has_general_category(u32 code_point, GeneralCategory general_category);