[libcxx-commits] [libcxx] 586892d - [libcxx] [test] Add another (void) cast for a function marked nodiscard in MS STL
Martin Storsjö via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Oct 21 23:12:00 PDT 2020
Author: Martin Storsjö
Date: 2020-10-22T09:00:57+03:00
New Revision: 586892d583a05d53fce4f04aa2bffc5603aaec74
URL: https://github.com/llvm/llvm-project/commit/586892d583a05d53fce4f04aa2bffc5603aaec74
DIFF: https://github.com/llvm/llvm-project/commit/586892d583a05d53fce4f04aa2bffc5603aaec74.diff
LOG: [libcxx] [test] Add another (void) cast for a function marked nodiscard in MS STL
Differential Revision: https://reviews.llvm.org/D89867
Added:
Modified:
libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp
index 8d320d750bc9..d2116779ba1f 100644
--- a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp
@@ -83,7 +83,7 @@ TEST_CASE(test_symlink_status_cannot_resolve)
#ifndef TEST_HAS_NO_EXCEPTIONS
{ // test throwing case
try {
- symlink_status(p);
+ (void)symlink_status(p);
} catch (filesystem_error const& err) {
TEST_CHECK(err.path1() == p);
TEST_CHECK(err.path2() == "");
More information about the libcxx-commits
mailing list