summaryrefslogtreecommitdiff
path: root/libcxxabi/src/cxa_vector.cpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-02-15 15:48:49 +0000
committerHoward Hinnant <hhinnant@apple.com>2013-02-15 15:48:49 +0000
commitbe2eced483a9b844db0dee61612da5ecc7c3eb28 (patch)
treea63c2e0f03ea956493f440aa095bd1453a2cfd18 /libcxxabi/src/cxa_vector.cpp
parent65af0388b98a052725e62332adaa2485ad191f75 (diff)
downloadllvm-be2eced483a9b844db0dee61612da5ecc7c3eb28.tar.gz
Bruce Mitchener: Typo fixes.
llvm-svn: 175275
Diffstat (limited to 'libcxxabi/src/cxa_vector.cpp')
-rw-r--r--libcxxabi/src/cxa_vector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/src/cxa_vector.cpp b/libcxxabi/src/cxa_vector.cpp
index 926c01dd3496..c2292ef2fcc7 100644
--- a/libcxxabi/src/cxa_vector.cpp
+++ b/libcxxabi/src/cxa_vector.cpp
@@ -32,7 +32,7 @@ namespace {
// A pair of classes to simplify exception handling and control flow.
// They get passed a block of memory in the constructor, and unless the
// 'release' method is called, they deallocate the memory in the destructor.
-// Prefered usage is to allocate some memory, attach it to one of these objects,
+// Preferred usage is to allocate some memory, attach it to one of these objects,
// and then, when all the operations to set up the memory block have succeeded,
// call 'release'. If any of the setup operations fail, or an exception is
// thrown, then the block is automatically deallocated.