[libcxx-commits] [libcxx] 22e5ee0 - [libcxx] [test] Avoid an unused variable in non-libcpp cases in path.append
Martin Storsjö via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 2 23:33:28 PST 2020
Author: Martin Storsjö
Date: 2020-11-03T09:32:52+02:00
New Revision: 22e5ee0eef818bb0005f296aac57a6ddf6421e16
URL: https://github.com/llvm/llvm-project/commit/22e5ee0eef818bb0005f296aac57a6ddf6421e16
DIFF: https://github.com/llvm/llvm-project/commit/22e5ee0eef818bb0005f296aac57a6ddf6421e16.diff
LOG: [libcxx] [test] Avoid an unused variable in non-libcpp cases in path.append
Differential Revision: https://reviews.llvm.org/D89947
Added:
Modified:
libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp b/libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp
index e787f5dc1b8b..eabd6f92da3c 100644
--- a/libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp
@@ -330,6 +330,7 @@ int main(int, char**)
doAppendSourceTest<char32_t>(TC);
}
for (auto const & TC : LongLHSCases) {
+ (void)TC;
LIBCPP_ONLY(doAppendSourceAllocTest<char>(TC));
LIBCPP_ONLY(doAppendSourceAllocTest<wchar_t>(TC));
}
More information about the libcxx-commits
mailing list