diff options
| author | Craig Topper <craig.topper@sifive.com> | 2023-05-08 09:48:08 -0700 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2023-05-08 09:48:08 -0700 |
| commit | 455cb2e57883b7360b427cb413b990448ab13190 (patch) | |
| tree | c018395b0388b84816c9a3f688ac965ec3190599 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h | |
| parent | 765237779ce4dbb60f4faf9ebc91386ce5218e15 (diff) | |
[RISCV] Simplify matchRegisterNameHelper interface. NFC
This previously returned a bool to indicate success or failure and
returns a register through an output parameter.
Some callers used the bool to check for success. Some callers checked
for RISCV::NoRegister.
To make everything uniform, return the MCRegister directly and update
all callers to use MCRegister::isValid().
Reviewed By: barannikov88
Differential Revision: https://reviews.llvm.org/D150049
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
