[PATCH] D77621: ADT: SmallVector size/capacity use word-size integers when elements are small

Andrew via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 24 22:09:11 PDT 2020


browneee marked an inline comment as done.
browneee added inline comments.


================
Comment at: llvm/include/llvm/ADT/SmallVector.h:19
 #include "llvm/Support/Compiler.h"
+#include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/MathExtras.h"
----------------
nikic wrote:
> Is this include still needed?
SmallVectorTemplateBase<T, TriviallyCopyable>::grow() still remains in the header and uses report_bad_alloc_error().


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77621/new/

https://reviews.llvm.org/D77621





More information about the llvm-commits mailing list