Skip to content

Commit f9ae07b

Browse files
committed
[libc++][NFC] Fix typo
1 parent e564852 commit f9ae07b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libcxx/include/deque

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,10 +482,10 @@ public:
482482
"original allocator");
483483
static_assert(is_nothrow_default_constructible<allocator_type>::value ==
484484
is_nothrow_default_constructible<__pointer_allocator>::value,
485-
"rebinding an allocator should not change excpetion guarantees");
485+
"rebinding an allocator should not change exception guarantees");
486486
static_assert(is_nothrow_move_constructible<allocator_type>::value ==
487487
is_nothrow_move_constructible<typename __map::allocator_type>::value,
488-
"rebinding an allocator should not change excpetion guarantees");
488+
"rebinding an allocator should not change exception guarantees");
489489

490490
private:
491491
struct __deque_block_range {

libcxxabi/src/aix_state_tab_eh.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ static uintptr_t* skip_non_cxx_eh_aware_frames(uint32_t* Pc, uintptr_t* Sp) {
681681
// xlclang++ compiled code. If __xlc_exception_handle() is called by
682682
// non-C++ EH aware functions, their frames are skipped until a C++ EH aware
683683
// frame is found.
684-
// Note: make sure __xlc_excpetion_handle() is a non-leaf function. Currently
684+
// Note: make sure __xlc_exception_handle() is a non-leaf function. Currently
685685
// it calls skip_non_cxx_eh_aware_frames(), which in turn calls abort().
686686
_LIBCXXABI_FUNC_VIS uintptr_t __xlc_exception_handle() {
687687
// Get the SP of this function, i.e., __xlc_exception_handle().

0 commit comments

Comments
 (0)