[libcxx-commits] [libcxxabi] 671afac - [libc++abi][NFC] Fix typo in comment
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 10 08:15:23 PDT 2022
Author: Louis Dionne
Date: 2022-05-10T11:15:16-04:00
New Revision: 671afac89dece7d728cd3c6a277faee1c8d1d592
URL: https://github.com/llvm/llvm-project/commit/671afac89dece7d728cd3c6a277faee1c8d1d592
DIFF: https://github.com/llvm/llvm-project/commit/671afac89dece7d728cd3c6a277faee1c8d1d592.diff
LOG: [libc++abi][NFC] Fix typo in comment
Added:
Modified:
libcxxabi/src/cxa_exception.h
Removed:
################################################################################
diff --git a/libcxxabi/src/cxa_exception.h b/libcxxabi/src/cxa_exception.h
index 64123d443a9b8..49dde28b258f7 100644
--- a/libcxxabi/src/cxa_exception.h
+++ b/libcxxabi/src/cxa_exception.h
@@ -34,7 +34,7 @@ struct _LIBCXXABI_HIDDEN __cxa_exception {
// in the beginning of the struct, rather than before unwindHeader.
void *reserve;
- // This is a new field to support C++ 0x exception_ptr.
+ // This is a new field to support C++11 exception_ptr.
// For binary compatibility it is at the start of this
// struct which is prepended to the object thrown in
// __cxa_allocate_exception.
@@ -63,9 +63,9 @@ struct _LIBCXXABI_HIDDEN __cxa_exception {
#endif
#if !defined(__LP64__) && !defined(_WIN64) && !defined(_LIBCXXABI_ARM_EHABI)
- // This is a new field to support C++ 0x exception_ptr.
+ // This is a new field to support C++11 exception_ptr.
// For binary compatibility it is placed where the compiler
- // previously adding padded to 64-bit align unwindHeader.
+ // previously added padding to 64-bit align unwindHeader.
size_t referenceCount;
#endif
_Unwind_Exception unwindHeader;
More information about the libcxx-commits
mailing list