mirror of
https://github.com/intel/llvm.git
synced 2026-02-06 23:31:50 +08:00
[lldb] Make conversions from llvm::Error explicit with Status::FromEr… (#107163)
…ror() [NFC]
This commit is contained in:
@@ -1658,7 +1658,7 @@ SBError SBTarget::SetLabel(const char *label) {
|
||||
if (!target_sp)
|
||||
return Status::FromErrorString("Couldn't get internal target object.");
|
||||
|
||||
return Status(target_sp->SetLabel(label));
|
||||
return Status::FromError(target_sp->SetLabel(label));
|
||||
}
|
||||
|
||||
uint32_t SBTarget::GetDataByteSize() {
|
||||
|
||||
Reference in New Issue
Block a user