[libcxx-commits] [libcxx] [libc++] Relocate the `nodiscard` test for `iterator` (PR #192769)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 17 22:41:54 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Connector Switch (c8ef)

<details>
<summary>Changes</summary>

The current `nodiscard` test is essentially located in its own subdirectory and the `iterator` does not belong to the https://eel.is/c++draft/diagnostics. Therefore, this patch relocates the test to a more suitable location.

---
Full diff: https://github.com/llvm/llvm-project/pull/192769.diff


1 Files Affected:

- (renamed) libcxx/test/libcxx/iterators/iterator.nodiscard.verify.cpp () 


``````````diff
diff --git a/libcxx/test/libcxx/diagnostics/iterator.nodiscard.verify.cpp b/libcxx/test/libcxx/iterators/iterator.nodiscard.verify.cpp
similarity index 100%
rename from libcxx/test/libcxx/diagnostics/iterator.nodiscard.verify.cpp
rename to libcxx/test/libcxx/iterators/iterator.nodiscard.verify.cpp

``````````

</details>


https://github.com/llvm/llvm-project/pull/192769


More information about the libcxx-commits mailing list