AK: Add FlyString::to_lowercase() and LogStream operator<<(FlyString)

This commit is contained in:
Andreas Kling 2020-03-22 19:07:02 +01:00
commit c4a6d6ae9f
Notes: sideshowbarker 2024-07-19 08:10:58 +09:00
6 changed files with 39 additions and 16 deletions

View file

@ -111,25 +111,16 @@ public:
{
}
String(const FlyString&);
static String repeated(char, size_t count);
bool matches(const StringView& mask, CaseSensitivity = CaseSensitivity::CaseInsensitive) const;
int to_int(bool& ok) const;
unsigned to_uint(bool& ok) const;
String to_lowercase() const
{
if (!m_impl)
return String();
return m_impl->to_lowercase();
}
String to_uppercase() const
{
if (!m_impl)
return String();
return m_impl->to_uppercase();
}
String to_lowercase() const;
String to_uppercase() const;
bool equals_ignoring_case(const StringView&) const;