[libcxx-commits] [PATCH] D89677: [libcxx] [test] Don't require path::operator(string_type&&) to be noexcept
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Oct 19 02:47:57 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.
Mark this as a libcpp specific test; the standard doesn't say that this method should be noexcept.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D89677
Files:
libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp
Index: libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp
===================================================================
--- libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp
+++ libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp
@@ -223,7 +223,7 @@
assert(p == Expect);
{
// Signature test
- ASSERT_NOEXCEPT(p = std::move(ss));
+ LIBCPP_ONLY(ASSERT_NOEXCEPT(p = std::move(ss)));
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89677.298972.patch
Type: text/x-patch
Size: 536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201019/332ca7df/attachment.bin>
More information about the libcxx-commits
mailing list