mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:07:44 +00:00
AK+Everywhere: Rename String to DeprecatedString
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
This commit is contained in:
parent
f74251606d
commit
6e19ab2bbc
2006 changed files with 11635 additions and 11636 deletions
|
@ -55,7 +55,7 @@ public:
|
|||
fflush(m_file);
|
||||
}
|
||||
|
||||
void print_opcode(String const& system, OpCode& opcode, MatchState& state, size_t recursion = 0, bool newline = true) const
|
||||
void print_opcode(DeprecatedString const& system, OpCode& opcode, MatchState& state, size_t recursion = 0, bool newline = true) const
|
||||
{
|
||||
out(m_file, "{:15} | {:5} | {:9} | {:35} | {:30} | {:20}",
|
||||
system.characters(),
|
||||
|
@ -63,7 +63,7 @@ public:
|
|||
recursion,
|
||||
opcode.to_string().characters(),
|
||||
opcode.arguments_string().characters(),
|
||||
String::formatted("ip: {:3}, sp: {:3}", state.instruction_position, state.string_position));
|
||||
DeprecatedString::formatted("ip: {:3}, sp: {:3}", state.instruction_position, state.string_position));
|
||||
if (newline)
|
||||
outln();
|
||||
if (newline && is<OpCode_Compare>(opcode)) {
|
||||
|
@ -119,7 +119,7 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
String m_debug_stripline;
|
||||
DeprecatedString m_debug_stripline;
|
||||
FILE* m_file;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue