[PATCH] D50223: [Support] Add zlib::compress which operates on std::unique_ptr<uint8_t[]>

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 3 12:01:11 PDT 2018


efriedma added a comment.

SmallVector has a method set_size to change the size of the vector without initializing the elements; you don't need to switch to unique_ptr just for that.


Repository:
  rL LLVM

https://reviews.llvm.org/D50223





More information about the llvm-commits mailing list