[lldb][NFCI] Replace some static ConstStrings with StringLiterals in Disassembler

These should have been replaced in e53e1de57e but I missed them
because ConstStrings can be implicitly converted to llvm::StringRefs.
This commit is contained in:
Alex Langford
2023-06-09 15:37:09 -07:00
parent 46e19e3a2c
commit aff35b2f1e

View File

@@ -893,8 +893,8 @@ bool Instruction::TestEmulation(Stream *out_stream, const char *file_name) {
OptionValueDictionary *data_dictionary =
data_dictionary_sp->GetAsDictionary();
static ConstString description_key("assembly_string");
static ConstString triple_key("triple");
static constexpr llvm::StringLiteral description_key("assembly_string");
static constexpr llvm::StringLiteral triple_key("triple");
OptionValueSP value_sp = data_dictionary->GetValueForKey(description_key);