mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 03:56:16 +08:00
Update the prompt related functions to use StringRefs.
llvm-svn: 282269
This commit is contained in:
@@ -491,7 +491,7 @@ const char *OptionValueProperties::GetPropertyAtIndexAsString(
|
||||
}
|
||||
|
||||
bool OptionValueProperties::SetPropertyAtIndexAsString(
|
||||
const ExecutionContext *exe_ctx, uint32_t idx, const char *new_value) {
|
||||
const ExecutionContext *exe_ctx, uint32_t idx, llvm::StringRef new_value) {
|
||||
const Property *property = GetPropertyAtIndex(exe_ctx, true, idx);
|
||||
if (property) {
|
||||
OptionValue *value = property->GetValue().get();
|
||||
|
||||
Reference in New Issue
Block a user