You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
libcxx_old/test/std/experimental/filesystem/fs.op.funcs
Eric Fiselier a4c272d82f Implement LWG 3013 - some filesystem members should not be noexcept.
LWG 3013 points out that the constructors and increment members
of the directory iterators need to allocate, and therefore cannot
be marked noexcept.

It also points out that `is_empty` and `copy` likely need to allocate
as well, and as such can also not be noexcept.

This patch speculatively implements the resolution removing noexcept,
because libc++ does indeed have the possibility of throwing on allocation
failure.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@316941 91177308-0d34-0410-b5e6-96231b3b80d8
8 years ago
..
fs.op.absolute [libcxx] [test] Fix comment typos, strip trailing whitespace. 9 years ago
fs.op.canonical Fix initialization of test case array in C++11 10 years ago
fs.op.copy Implement LWG 3013 - some filesystem members should not be noexcept. 8 years ago
fs.op.copy_file Fix unused parameters and variables 9 years ago
fs.op.copy_symlink Fix unused parameters and variables 9 years ago
fs.op.create_directories Get filesystem tests passing for single-threaded configurations. 10 years ago
fs.op.create_directory [libcxx][filesystem] Remove setgid from parent before testing permissions 9 years ago
fs.op.create_directory_symlink Fix unused parameters and variables 9 years ago
fs.op.create_hard_link Fix unused parameters and variables 9 years ago
fs.op.create_symlink Fix unused parameters and variables 9 years ago
fs.op.current_path Add Filesystem TS -- Complete 10 years ago
fs.op.equivalent Fix equivalent test on OS X and FreeBSD 8 years ago
fs.op.exists add tests for ENAMETOOLONG 9 years ago
fs.op.file_size Add Filesystem TS -- Complete 10 years ago
fs.op.hard_lk_ct [test] Fix hard_link_count test to account for fs with dir nlink==1 9 years ago
fs.op.is_block_file Add Filesystem TS -- Complete 10 years ago
fs.op.is_char_file Add Filesystem TS -- Complete 10 years ago
fs.op.is_directory Add Filesystem TS -- Complete 10 years ago
fs.op.is_empty Implement LWG 3013 - some filesystem members should not be noexcept. 8 years ago
fs.op.is_fifo Add Filesystem TS -- Complete 10 years ago
fs.op.is_other Add Filesystem TS -- Complete 10 years ago
fs.op.is_regular_file Add Filesystem TS -- Complete 10 years ago
fs.op.is_socket Add Filesystem TS -- Complete 10 years ago
fs.op.is_symlink Add Filesystem TS -- Complete 10 years ago
fs.op.last_write_time Fix last_write_time.pass.cpp to work with clang-3.9 and earlier 8 years ago
fs.op.permissions [libcxx] [test] Fix comment typos, strip trailing whitespace. 9 years ago
fs.op.read_symlink Fix unused parameters and variables 9 years ago
fs.op.remove Fix unused parameters and variables 9 years ago
fs.op.remove_all Fix unused parameters and variables 9 years ago
fs.op.rename Fix unused parameters and variables 9 years ago
fs.op.resize_file Fix unused parameters and variables 9 years ago
fs.op.space Fix unused parameters and variables 9 years ago
fs.op.status add tests for ENAMETOOLONG 9 years ago
fs.op.status_known Add Filesystem TS -- Complete 10 years ago
fs.op.symlink_status Add Filesystem TS -- Complete 10 years ago
fs.op.system_complete Add Filesystem TS -- Complete 10 years ago
fs.op.temp_dir_path filesystem: fix n4100 conformance for `temp_directory_path` 9 years ago