[PATCH] D84293: Add an assertion in SmallVector::push_back()

Aart Bik via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 13 15:13:11 PST 2020


aartbik added inline comments.


================
Comment at: llvm/include/llvm/ADT/SmallVector.h:143
+        "Attempting to push_back to the vector an element of the vector without"
+        " enough space reserved");
+  }
----------------
nit: s/enough/sufficient


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84293



More information about the llvm-commits mailing list