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

AK+Everywhere: Rename FlyString to DeprecatedFlyString

DeprecatedFlyString relies heavily on DeprecatedString's StringImpl, so
let's rename it to A) match the name of DeprecatedString, B) write a new
FlyString class that is tied to String.
This commit is contained in:
Timothy Flynn 2023-01-08 19:23:00 -05:00 committed by Linus Groh
parent 2eacc7aec1
commit f3db548a3d
316 changed files with 1177 additions and 1177 deletions

View file

@ -6,8 +6,8 @@
#pragma once
#include <AK/DeprecatedFlyString.h>
#include <AK/DeprecatedString.h>
#include <AK/FlyString.h>
#include <AK/NonnullRefPtrVector.h>
#include <AK/Optional.h>
#include <AK/RefCounted.h>
@ -47,7 +47,7 @@ public:
VERIFY(m_end.has_value());
return m_end.value();
}
FlyString const& filename() const
DeprecatedFlyString const& filename() const
{
return m_filename;
}
@ -78,7 +78,7 @@ private:
ASTNode* m_parent { nullptr };
Optional<Position> m_start;
Optional<Position> m_end;
FlyString m_filename;
DeprecatedFlyString m_filename;
};
class TranslationUnit : public ASTNode {