aboutsummaryrefslogtreecommitdiff
path: root/libunwind
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2023-08-31 08:39:52 -0700
committerNick Desaulniers <ndesaulniers@google.com>2023-08-31 08:54:51 -0700
commit2fad6e69851ecbaf01553cd5790e4575290bf0a9 (patch)
tree44ab94caa8c08bf5d4af5fd5fdf97f6c571f600f /libunwind
parentcdd5b1629abedd5e9d6ee280e592baa3c1dd1542 (diff)
downloadllvm-2fad6e69851ecbaf01553cd5790e4575290bf0a9.zip
llvm-2fad6e69851ecbaf01553cd5790e4575290bf0a9.tar.gz
llvm-2fad6e69851ecbaf01553cd5790e4575290bf0a9.tar.bz2
[InlineAsm] wrap Kind in enum class NFC
Should add some minor type safety to the use of this information, since there's quite a bit of metadata being laundered through an `unsigned`. I'm looking to potentially add more bitfields to that `unsigned`, but I find InlineAsm's big ol' bag of enum values and usage of `unsigned` confusing, type-unsafe, and un-ergonomic. These can probably be better abstracted. I think the lack of static_cast outside of InlineAsm indicates the prior code smell fixed here. Reviewed By: qcolombet Differential Revision: https://reviews.llvm.org/D159242
Diffstat (limited to 'libunwind')
0 files changed, 0 insertions, 0 deletions