[libcxx-commits] [libcxx] ab9a571 - [libc++] [test] Fix a couple of copy-paste comments. NFC.

Arthur O'Dwyer via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 2 09:08:39 PST 2022


Author: Arthur O'Dwyer
Date: 2022-02-02T12:08:33-05:00
New Revision: ab9a571a942a9d6fbf4270f115959cc357de2007

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

LOG: [libc++] [test] Fix a couple of copy-paste comments. NFC.

Added: 
    

Modified: 
    libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/constraints.verify.cpp
    libcxx/test/std/utilities/optional/iterator_concept_conformance.compile.pass.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/constraints.verify.cpp b/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/constraints.verify.cpp
index b509b1e1d2549..8fb82ab471c6b 100644
--- a/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/constraints.verify.cpp
+++ b/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/constraints.verify.cpp
@@ -9,7 +9,8 @@
 // UNSUPPORTED: c++03, c++11, c++14, c++17
 // UNSUPPORTED: libcpp-no-concepts
 
-// ranges::next
+// ranges::advance
+// Make sure we're SFINAE-friendly when the template argument constraints are not met.
 
 #include <iterator>
 

diff  --git a/libcxx/test/std/utilities/optional/iterator_concept_conformance.compile.pass.cpp b/libcxx/test/std/utilities/optional/iterator_concept_conformance.compile.pass.cpp
index 77b790d867e98..1443f2523a43f 100644
--- a/libcxx/test/std/utilities/optional/iterator_concept_conformance.compile.pass.cpp
+++ b/libcxx/test/std/utilities/optional/iterator_concept_conformance.compile.pass.cpp
@@ -9,7 +9,7 @@
 // UNSUPPORTED: c++03, c++11, c++14, c++17
 // UNSUPPORTED: libcpp-no-concepts
 
-// unique_ptr
+// optional
 
 #include <optional>
 


        


More information about the libcxx-commits mailing list