[libcxxabi] r175275 - Bruce Mitchener: Typo fixes.
Howard Hinnant
hhinnant at apple.com
Fri Feb 15 07:48:49 PST 2013
Author: hhinnant
Date: Fri Feb 15 09:48:49 2013
New Revision: 175275
URL: http://llvm.org/viewvc/llvm-project?rev=175275&view=rev
Log:
Bruce Mitchener: Typo fixes.
Modified:
libcxxabi/trunk/CREDITS.TXT
libcxxabi/trunk/src/cxa_exception.cpp
libcxxabi/trunk/src/cxa_exception_storage.cpp
libcxxabi/trunk/src/cxa_handlers.hpp
libcxxabi/trunk/src/cxa_personality.cpp
libcxxabi/trunk/src/cxa_vector.cpp
libcxxabi/trunk/src/private_typeinfo.cpp
Modified: libcxxabi/trunk/CREDITS.TXT
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/CREDITS.TXT?rev=175275&r1=175274&r2=175275&view=diff
==============================================================================
--- libcxxabi/trunk/CREDITS.TXT (original)
+++ libcxxabi/trunk/CREDITS.TXT Fri Feb 15 09:48:49 2013
@@ -32,3 +32,7 @@ D: Minor patches and fixes
N: Nowar Gu
E: wenhan.gu at gmail.com
D: Minor patches and fixes
+
+N: Bruce Mitchener, Jr.
+E: bruce.mitchener at gmail.com
+D: Minor typo fixes
Modified: libcxxabi/trunk/src/cxa_exception.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_exception.cpp?rev=175275&r1=175274&r2=175275&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_exception.cpp (original)
+++ libcxxabi/trunk/src/cxa_exception.cpp Fri Feb 15 09:48:49 2013
@@ -524,7 +524,7 @@ __cxa_decrement_exception_refcount(void*
/*
Returns a pointer to the thrown object (if any) at the top of the
- caughtExceptions stack. Atommically increment the exception's referenceCount.
+ caughtExceptions stack. Atomically increment the exception's referenceCount.
If there is no such thrown object or if the thrown object is foreign,
returns null.
@@ -573,7 +573,7 @@ dependent_exception_cleanup(_Unwind_Reas
}
/*
- If thrown_object is not null, allocate, initialize and thow a dependent
+ If thrown_object is not null, allocate, initialize and throw a dependent
exception.
*/
void
Modified: libcxxabi/trunk/src/cxa_exception_storage.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_exception_storage.cpp?rev=175275&r1=175274&r2=175275&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_exception_storage.cpp (original)
+++ libcxxabi/trunk/src/cxa_exception_storage.cpp Fri Feb 15 09:48:49 2013
@@ -75,7 +75,7 @@ extern "C" {
}
// Note that this implementation will reliably return NULL if not
- // preceeded by a call to __cxa_get_globals(). This is an extension
+ // preceded by a call to __cxa_get_globals(). This is an extension
// to the Itanium ABI and is taken advantage of in several places in
// libc++abi.
__cxa_eh_globals * __cxa_get_globals_fast () {
Modified: libcxxabi/trunk/src/cxa_handlers.hpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_handlers.hpp?rev=175275&r1=175274&r2=175275&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_handlers.hpp (original)
+++ libcxxabi/trunk/src/cxa_handlers.hpp Fri Feb 15 09:48:49 2013
@@ -45,7 +45,7 @@ extern void (*__cxa_new_handler)();
extern std::atomic<std::new_handler> __cxa_new_handler;
This change will not impact their ABI. But it will allow for a
- portible performance optimization.
+ portable performance optimization.
*/
Modified: libcxxabi/trunk/src/cxa_personality.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_personality.cpp?rev=175275&r1=175274&r2=175275&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_personality.cpp (original)
+++ libcxxabi/trunk/src/cxa_personality.cpp Fri Feb 15 09:48:49 2013
@@ -39,7 +39,7 @@
+-----------------+--------+
| lpStartEncoding | (char) |
+---------+-------+--------+---------------+-----------------------+
-| lpStart | (encoded wtih lpStartEncoding) | defaults to funcStart |
+| lpStart | (encoded with lpStartEncoding) | defaults to funcStart |
+---------+-----+--------+-----------------+---------------+-------+
| ttypeEncoding | (char) | Encoding of the type_info table |
+---------------+-+------+----+----------------------------+----------------+
@@ -187,7 +187,7 @@ readULEB128(const uint8_t** data)
}
/// Read a sleb128 encoded value and advance pointer
-/// See Variable Length Data Applendix C in:
+/// See Variable Length Data Appendix C in:
/// @link http://dwarfstd.org/Dwarf4.pdf @unlink
/// @param data reference variable holding memory pointer to decode from
/// @returns decoded value
@@ -344,7 +344,7 @@ get_shim_type_info(uint64_t ttypeIndex,
}
/*
- This is checking a thrown exception type, excpType, against a posibly empty
+ This is checking a thrown exception type, excpType, against a possibly empty
list of catchType's which make up an exception spec.
An exception spec acts like a catch handler, but in reverse. This "catch
@@ -489,7 +489,7 @@ scan_eh_tab(scan_results& results, _Unwi
return;
}
}
- else // Niether _UA_SEARCH_PHASE nor _UA_CLEANUP_PHASE is set
+ else // Neither _UA_SEARCH_PHASE nor _UA_CLEANUP_PHASE is set
{
// One of these should be set.
// Client error
@@ -1038,7 +1038,7 @@ __cxa_call_unexpected(void* arg)
{
// We need to __cxa_end_catch for both the old exception and the
// new exception. Technically we should do it in that order.
- // But it is expedent to do it in the opposite order:
+ // But it is expedient to do it in the opposite order:
// Call __cxa_end_catch for new_exception_header
__cxa_end_catch();
// Throw std::bad_exception will __cxa_end_catch for
Modified: libcxxabi/trunk/src/cxa_vector.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_vector.cpp?rev=175275&r1=175274&r2=175275&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_vector.cpp (original)
+++ libcxxabi/trunk/src/cxa_vector.cpp Fri Feb 15 09:48:49 2013
@@ -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.
Modified: libcxxabi/trunk/src/private_typeinfo.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/private_typeinfo.cpp?rev=175275&r1=175274&r2=175275&view=diff
==============================================================================
--- libcxxabi/trunk/src/private_typeinfo.cpp (original)
+++ libcxxabi/trunk/src/private_typeinfo.cpp Fri Feb 15 09:48:49 2013
@@ -16,13 +16,13 @@
// When _LIBCXX_DYNAMIC_FALLBACK is defined, and only in the case where
// there is a detected inconsistency in the type_info hierarchy during a
// dynamic_cast, then the equality operation will fall back to using strcmp
-// on type_info names to determin type_info equality.
+// on type_info names to determine type_info equality.
//
// This change happens *only* under dynamic_cast, and only when
// dynamic_cast is faced with the choice: abort, or possibly give back the
// wrong answer. If when the dynamic_cast is done with this fallback
// algorithm and an inconsistency is still detected, dynamic_cast will call
-// abort with an approriate message.
+// abort with an appropriate message.
//
// The current implementation of _LIBCXX_DYNAMIC_FALLBACK requires a
// printf-like function called syslog:
More information about the cfe-commits
mailing list