[libcxx-commits] [libcxx] [libc++][test-suite][NFC] Move `unused_variables` tests (PR #223234)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Sep 13 04:30:18 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Hristo Hristov (H-G-Hristov)
<details>
<summary>Changes</summary>
`diagnostics` is a section in The Standard. According to libc++ test-suite organization `libcxx/test/libcxx/diagnostics/` should contain related tests.
The following tests should live in `libcxx/test/libcxx/containers`: `unused_variables.compile.pass.cpp` `unused_variables.verify.cpp`
---
Full diff: https://github.com/llvm/llvm-project/pull/223234.diff
2 Files Affected:
- (renamed) libcxx/test/libcxx/containers/unused_variables.compile.pass.cpp ()
- (renamed) libcxx/test/libcxx/containers/unused_variables.verify.cpp ()
``````````diff
diff --git a/libcxx/test/libcxx/diagnostics/unused_variables.compile.pass.cpp b/libcxx/test/libcxx/containers/unused_variables.compile.pass.cpp
similarity index 100%
rename from libcxx/test/libcxx/diagnostics/unused_variables.compile.pass.cpp
rename to libcxx/test/libcxx/containers/unused_variables.compile.pass.cpp
diff --git a/libcxx/test/libcxx/diagnostics/unused_variables.verify.cpp b/libcxx/test/libcxx/containers/unused_variables.verify.cpp
similarity index 100%
rename from libcxx/test/libcxx/diagnostics/unused_variables.verify.cpp
rename to libcxx/test/libcxx/containers/unused_variables.verify.cpp
``````````
</details>
https://github.com/llvm/llvm-project/pull/223234
More information about the libcxx-commits
mailing list