[libcxx-commits] [libcxxabi] f9ae07b - [libc++][NFC] Fix typo

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jun 7 10:20:21 PDT 2024


Author: Louis Dionne
Date: 2024-06-07T13:20:15-04:00
New Revision: f9ae07b9e1509732be01fddefb529c6626c119a9

URL: https://github.com/llvm/llvm-project/commit/f9ae07b9e1509732be01fddefb529c6626c119a9
DIFF: https://github.com/llvm/llvm-project/commit/f9ae07b9e1509732be01fddefb529c6626c119a9.diff

LOG: [libc++][NFC] Fix typo

Added: 
    

Modified: 
    libcxx/include/deque
    libcxxabi/src/aix_state_tab_eh.inc

Removed: 
    


################################################################################
diff  --git a/libcxx/include/deque b/libcxx/include/deque
index 555761aae6afd..8ffd8193b74e9 100644
--- a/libcxx/include/deque
+++ b/libcxx/include/deque
@@ -482,10 +482,10 @@ public:
                 "original allocator");
   static_assert(is_nothrow_default_constructible<allocator_type>::value ==
                     is_nothrow_default_constructible<__pointer_allocator>::value,
-                "rebinding an allocator should not change excpetion guarantees");
+                "rebinding an allocator should not change exception guarantees");
   static_assert(is_nothrow_move_constructible<allocator_type>::value ==
                     is_nothrow_move_constructible<typename __map::allocator_type>::value,
-                "rebinding an allocator should not change excpetion guarantees");
+                "rebinding an allocator should not change exception guarantees");
 
 private:
   struct __deque_block_range {

diff  --git a/libcxxabi/src/aix_state_tab_eh.inc b/libcxxabi/src/aix_state_tab_eh.inc
index 285c9ac71d60d..0ed329890a0a4 100644
--- a/libcxxabi/src/aix_state_tab_eh.inc
+++ b/libcxxabi/src/aix_state_tab_eh.inc
@@ -681,7 +681,7 @@ static uintptr_t* skip_non_cxx_eh_aware_frames(uint32_t* Pc, uintptr_t* Sp) {
 // xlclang++ compiled code. If __xlc_exception_handle() is called by
 // non-C++ EH aware functions, their frames are skipped until a C++ EH aware
 // frame is found.
-// Note: make sure __xlc_excpetion_handle() is a non-leaf function. Currently
+// Note: make sure __xlc_exception_handle() is a non-leaf function. Currently
 // it calls skip_non_cxx_eh_aware_frames(), which in turn calls abort().
 _LIBCXXABI_FUNC_VIS uintptr_t __xlc_exception_handle() {
   // Get the SP of this function, i.e., __xlc_exception_handle().


        


More information about the libcxx-commits mailing list