diff --git a/llvm/include/llvm/ADT/SmallVector.h b/llvm/include/llvm/ADT/SmallVector.h --- a/llvm/include/llvm/ADT/SmallVector.h +++ b/llvm/include/llvm/ADT/SmallVector.h @@ -1212,7 +1212,7 @@ } SmallVector(std::initializer_list IL) : SmallVectorImpl(N) { - this->assign(IL); + this->append(IL); } SmallVector(const SmallVector &RHS) : SmallVectorImpl(N) {