[libcxx-commits] [PATCH] D89947: [libcxx] [test] Avoid an unused variable in non-libcpp cases in path.append

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 22 03:40:32 PDT 2020


mstorsjo created this revision.
mstorsjo added a reviewer: libc++.
Herald added a project: libc++.
Herald added 1 blocking reviewer(s): libc++.
mstorsjo requested review of this revision.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89947

Files:
  libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp


Index: libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp
===================================================================
--- libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp
+++ libcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp
@@ -329,6 +329,7 @@
     doAppendSourceTest<char32_t>(TC);
   }
   for (auto const & TC : LongLHSCases) {
+    (void)TC;
     LIBCPP_ONLY(doAppendSourceAllocTest<char>(TC));
     LIBCPP_ONLY(doAppendSourceAllocTest<wchar_t>(TC));
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89947.299915.patch
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201022/247b4f4c/attachment.bin>


More information about the libcxx-commits mailing list