mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 12:25:46 +08:00
[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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user