[PATCH] D78797: [Support] Refactor LEB128 decoding into an output iterator
Nicolas Guillemot via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 24 10:48:49 PDT 2020
nlguillemot updated this revision to Diff 259930.
nlguillemot added a comment.
Added a unit test that uses the output iterator in a std algorithm, just as a sanity test that the class can indeed be used as an output iterator. The code in `decode[U|S]LEB128` doesn't use the output iterator with std algorithm, so this extra test was added to get coverage for that use case.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78797/new/
https://reviews.llvm.org/D78797
Files:
llvm/include/llvm/Support/LEB128.h
llvm/unittests/Support/LEB128Test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78797.259930.patch
Type: text/x-patch
Size: 7461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200424/1337751e/attachment.bin>
More information about the llvm-commits
mailing list