[SmallVector] Add an explicit SmallVector(size_t Size) constructor.
Previously we used the SmallVector(size_t Size, const T& Value) constructor with a default constructed Value. That will copy construct every element in the vector, but not all types can be copy constructed. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D147426
Loading
Please sign in to comment