aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SmallVector.cpp
diff options
context:
space:
mode:
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>2020-12-01 20:02:46 -0500
committerArthur O'Dwyer <arthur.j.odwyer@gmail.com>2020-12-01 22:13:40 -0500
commite181a6aeddc26ef0512b2dba94db6360ba32f2ff (patch)
treef397c6c21ce4e454efcb6f542c58ee2995a656d3 /llvm/lib/Support/SmallVector.cpp
parentd586f92c9456a972ee475a021525c0522b89587b (diff)
downloadllvm-e181a6aeddc26ef0512b2dba94db6360ba32f2ff.zip
llvm-e181a6aeddc26ef0512b2dba94db6360ba32f2ff.tar.gz
llvm-e181a6aeddc26ef0512b2dba94db6360ba32f2ff.tar.bz2
s/instantate/instantiate/ throughout. NFCI.
The static_assert in "libcxx/include/memory" was the main offender here, but then I figured I might as well `git grep -i instantat` and fix all the instances I found. One was in user-facing HTML documentation; the rest were in comments or tests.
Diffstat (limited to 'llvm/lib/Support/SmallVector.cpp')
-rw-r--r--llvm/lib/Support/SmallVector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/SmallVector.cpp b/llvm/lib/Support/SmallVector.cpp
index debde5c..7e3d01f 100644
--- a/llvm/lib/Support/SmallVector.cpp
+++ b/llvm/lib/Support/SmallVector.cpp
@@ -108,7 +108,7 @@ void SmallVectorBase<Size_T>::grow_pod(void *FirstEl, size_t MinSize,
template class llvm::SmallVectorBase<uint32_t>;
// Disable the uint64_t instantiation for 32-bit builds.
-// Both uint32_t and uint64_t instantations are needed for 64-bit builds.
+// Both uint32_t and uint64_t instantiations are needed for 64-bit builds.
// This instantiation will never be used in 32-bit builds, and will cause
// warnings when sizeof(Size_T) > sizeof(size_t).
#if SIZE_MAX > UINT32_MAX