diff options
author | Craig Topper <craig.topper@sifive.com> | 2025-01-16 11:59:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-16 11:59:51 -0800 |
commit | 3173a4fc3aca3b8b21e9064cc38383be3539b3a4 (patch) | |
tree | 26b4458ac51d271df42e57734947987af8d09664 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
parent | 01d7f434d21a70158094a9c7da971ce9e0d0915c (diff) | |
download | llvm-3173a4fc3aca3b8b21e9064cc38383be3539b3a4.zip llvm-3173a4fc3aca3b8b21e9064cc38383be3539b3a4.tar.gz llvm-3173a4fc3aca3b8b21e9064cc38383be3539b3a4.tar.bz2 |
[llvm-exegesis] Remove implicit conversions of MCRegister to unsigned. NFC (#123223)
-Use MCRegister::id() for BitVector index.
-Replace std::unordered_set<unsigned> with std::set<MCRegister.
There are other std::sets for Register. None for MCRegister before this.
I'm assuming we can have operator<(MCRegister, MCRegister). This avoids
needing to add std::hash<MCRegister>.
-Use MCRegister::isValid() to avoid comparing to 0.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions