[libcxx-commits] [PATCH] D89678: [libcxx] [test] Allow fs::permissions(path, perms, perm_options, error_code) to be noexcept
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Oct 19 14:07:38 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe2ddd515abd1: [libcxx] [test] Allow fs::permissions(path, perms, perm_options, error_code) to… (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89678/new/
https://reviews.llvm.org/D89678
Files:
libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
Index: libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
===================================================================
--- libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
+++ libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
@@ -38,7 +38,7 @@
ASSERT_NOT_NOEXCEPT(fs::permissions(p, pr));
ASSERT_NOT_NOEXCEPT(fs::permissions(p, pr, opts));
ASSERT_NOEXCEPT(fs::permissions(p, pr, ec));
- ASSERT_NOT_NOEXCEPT(fs::permissions(p, pr, opts, ec));
+ LIBCPP_ONLY(ASSERT_NOT_NOEXCEPT(fs::permissions(p, pr, opts, ec)));
}
TEST_CASE(test_error_reporting)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89678.299155.patch
Type: text/x-patch
Size: 704 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201019/cc76e10e/attachment.bin>
More information about the libcxx-commits
mailing list