[libcxx-commits] [libcxx] a18b5f0 - [libcxx] NFC. Add missed articles to _LIPCPP_ASSERT messages in <list>

Kristina Bessonova via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 17 01:17:23 PDT 2021


Author: Kristina Bessonova
Date: 2021-05-17T10:15:43+02:00
New Revision: a18b5f0188b5929a58790dd0f57c06098d276fd1

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

LOG: [libcxx] NFC. Add missed articles to _LIPCPP_ASSERT messages in <list>

Added: 
    

Modified: 
    libcxx/include/list

Removed: 
    


################################################################################
diff  --git a/libcxx/include/list b/libcxx/include/list
index 7be38c63f11ab..b4cc649c47338 100644
--- a/libcxx/include/list
+++ b/libcxx/include/list
@@ -2053,7 +2053,7 @@ list<_Tp, _Alloc>::splice(const_iterator __p, list& __c, const_iterator __i)
         " not referring to this list");
     _LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(&__i) == &__c,
         "list::splice(iterator, list, iterator) called with the second iterator"
-        " not referring to list argument");
+        " not referring to the list argument");
     _LIBCPP_ASSERT(__get_const_db()->__dereferenceable(&__i),
         "list::splice(iterator, list, iterator) called with the second iterator"
         " not dereferenceable");
@@ -2098,10 +2098,10 @@ list<_Tp, _Alloc>::splice(const_iterator __p, list& __c, const_iterator __f, con
         " referring to this list");
     _LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(&__f) == &__c,
         "list::splice(iterator, list, iterator, iterator) called with second iterator not"
-        " referring to list argument");
+        " referring to the list argument");
     _LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(&__l) == &__c,
         "list::splice(iterator, list, iterator, iterator) called with third iterator not"
-        " referring to list argument");
+        " referring to the list argument");
     if (this == &__c)
     {
         for (const_iterator __i = __f; __i != __l; ++__i)


        


More information about the libcxx-commits mailing list