[libcxx-commits] [libcxx] 18b03b0 - [libc++][NFC] Remove non-ASCII from comment.

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Mon Apr 26 08:55:01 PDT 2021


Author: Mark de Wever
Date: 2021-04-26T17:53:20+02:00
New Revision: 18b03b008588e829751ab4b945982ee301a58839

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

LOG: [libc++][NFC] Remove non-ASCII from comment.

Seems our check-generated-output doesn't work as intended. Will
investigate it further.

Added: 
    

Modified: 
    libcxx/include/__iterator/incrementable_traits.h
    libcxx/include/__iterator/readable_traits.h
    libcxx/include/iterator

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__iterator/incrementable_traits.h b/libcxx/include/__iterator/incrementable_traits.h
index 28717e06a142..5a433982ba27 100644
--- a/libcxx/include/__iterator/incrementable_traits.h
+++ b/libcxx/include/__iterator/incrementable_traits.h
@@ -60,9 +60,9 @@ struct incrementable_traits<_Tp> {
 template <class>
 struct iterator_traits;
 
-// Let `RI` be `remove_­cvref_­t<I>`. The type `iter_­
diff erence_­t<I>` denotes
-// `incrementable_­traits<RI>::
diff erence_­type` if `iterator_­traits<RI>` names a specialization
-// generated from the primary template, and `iterator_­traits<RI>::
diff erence_­type` otherwise.
+// Let `RI` be `remove_cvref_t<I>`. The type `iter_
diff erence_t<I>` denotes
+// `incrementable_traits<RI>::
diff erence_type` if `iterator_traits<RI>` names a specialization
+// generated from the primary template, and `iterator_traits<RI>::
diff erence_type` otherwise.
 template <class _Ip>
 using iter_
diff erence_t = typename conditional_t<__is_primary_template<iterator_traits<remove_cvref_t<_Ip> > >::value,
                                                  incrementable_traits<remove_cvref_t<_Ip> >,

diff  --git a/libcxx/include/__iterator/readable_traits.h b/libcxx/include/__iterator/readable_traits.h
index 9761756b4c1a..fbad106e4ee1 100644
--- a/libcxx/include/__iterator/readable_traits.h
+++ b/libcxx/include/__iterator/readable_traits.h
@@ -74,9 +74,9 @@ struct indirectly_readable_traits<_Tp>
 template <class>
 struct iterator_traits;
 
-// Let `RI` be `remove_­cvref_­t<I>`. The type `iter_­value_­t<I>` denotes
-// `indirectly_­readable_­traits<RI>::value_­type` if `iterator_­traits<RI>` names a specialization
-// generated from the primary template, and `iterator_­traits<RI>::value_­type` otherwise.
+// Let `RI` be `remove_cvref_t<I>`. The type `iter_value_t<I>` denotes
+// `indirectly_readable_traits<RI>::value_type` if `iterator_traits<RI>` names a specialization
+// generated from the primary template, and `iterator_traits<RI>::value_type` otherwise.
 template <class _Ip>
 using iter_value_t = typename conditional_t<__is_primary_template<iterator_traits<remove_cvref_t<_Ip> > >::value,
                                             indirectly_readable_traits<remove_cvref_t<_Ip> >,

diff  --git a/libcxx/include/iterator b/libcxx/include/iterator
index 151931bc4b0e..d9a0309e0b93 100644
--- a/libcxx/include/iterator
+++ b/libcxx/include/iterator
@@ -52,7 +52,7 @@ template<class In>
 template<class Out, class T>
   concept indirectly_writable = see below;                // since C++20
 
-// [iterator.concept.winc], concept weakly_­incrementable
+// [iterator.concept.winc], concept weakly_incrementable
 template<class I>
   concept weakly_incrementable = see below;                // since C++20
 
@@ -60,11 +60,11 @@ template<class I>
 template<class I>
   concept incrementable = see below;                       // since C++20
 
-// [iterator.concept.iterator], concept input_­or_­output_­iterator
+// [iterator.concept.iterator], concept input_or_output_iterator
   template<class I>
     concept input_or_output_iterator = see below;          // since C++20
 
-// [iterator.concept.sentinel], concept sentinel_­for
+// [iterator.concept.sentinel], concept sentinel_for
 template<class S, class I>
   concept sentinel_for = see below;                        // since C++20
 


        


More information about the libcxx-commits mailing list