aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-01-16 11:59:51 -0800
committerGitHub <noreply@github.com>2025-01-16 11:59:51 -0800
commit3173a4fc3aca3b8b21e9064cc38383be3539b3a4 (patch)
tree26b4458ac51d271df42e57734947987af8d09664 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parent01d7f434d21a70158094a9c7da971ce9e0d0915c (diff)
downloadllvm-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