[llvm-branch-commits] [libcxx] 5740f96 - [NFC][libc++] Fixes swapped comments.

Mark de Wever via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Dec 19 07:22:28 PST 2020


Author: Mark de Wever
Date: 2020-12-19T16:16:54+01:00
New Revision: 5740f96d8eed0ac041a2aff294f3015ae289b24d

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

LOG: [NFC][libc++] Fixes swapped comments.

Added: 
    

Modified: 
    libcxx/test/libcxx/iterators/trivial_iterators.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/libcxx/iterators/trivial_iterators.pass.cpp b/libcxx/test/libcxx/iterators/trivial_iterators.pass.cpp
index 3b16a78e47bf..f6164db9d984 100644
--- a/libcxx/test/libcxx/iterators/trivial_iterators.pass.cpp
+++ b/libcxx/test/libcxx/iterators/trivial_iterators.pass.cpp
@@ -166,13 +166,13 @@ int main(int, char**)
 //  iterators from libc++'s containers
 //
 
-//  string
+//  vector
     static_assert(( std::__libcpp_is_trivial_iterator<std::vector<char>::iterator>              ::value), "");
     static_assert(( std::__libcpp_is_trivial_iterator<std::vector<char>::const_iterator>        ::value), "");
     static_assert(( std::__libcpp_is_trivial_iterator<std::vector<char>::reverse_iterator>      ::value), "");
     static_assert(( std::__libcpp_is_trivial_iterator<std::vector<char>::const_reverse_iterator>::value), "");
 
-//  vector
+//  string
     static_assert(( std::__libcpp_is_trivial_iterator<std::basic_string<char>::iterator>              ::value), "");
     static_assert(( std::__libcpp_is_trivial_iterator<std::basic_string<char>::const_iterator>        ::value), "");
     static_assert(( std::__libcpp_is_trivial_iterator<std::basic_string<char>::reverse_iterator>      ::value), "");


        


More information about the llvm-branch-commits mailing list