diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-03-07 02:19:45 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-03-07 02:19:45 +0000 |
commit | dfd9131db385a5c7d3961c5b389daf457bc32a2e (patch) | |
tree | 0effd3a462edb74938c3e9f71216193aff69a41b /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | bafdd03b55b1d770dc13f3fb04d398d00480a260 (diff) | |
download | bcm5719-llvm-dfd9131db385a5c7d3961c5b389daf457bc32a2e.tar.gz bcm5719-llvm-dfd9131db385a5c7d3961c5b389daf457bc32a2e.zip |
[APInt] Implement getLowBitsSet/getHighBitsSet/getBitsSet using setLowBits/setHighBits/setBits
This patch implements getLowBitsSet/getHighBitsSet/getBitsSet in terms of the new setLowBits/setHighBits/setBits methods by making an all 0s APInt and then calling the appropriate set method.
This also adds support to setBits to allow loBits/hiBits to be in the other order to match with getBitsSet behavior.
Differential Revision: https://reviews.llvm.org/D30563
llvm-svn: 297112
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions