labath added a comment. Another option would be to go full-STL and do something like
ArrayRef<uint8_t> data(ptr, len);
if (reverse)
for (uint8_t byte: llvm::reverse(data))
...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119857/new/
https://reviews.llvm.org/D119857
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
