llvm-project/libcxx/test/std/experimental/filesystem/fs.op.funcs
Eric Fiselier ddfdb32b30 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.

llvm-svn: 316941
2017-10-30 18:59:59 +00:00
..
fs.op.absolute [libcxx] [test] Fix comment typos, strip trailing whitespace. 2017-01-18 20:10:25 +00:00
fs.op.canonical Fix initialization of test case array in C++11 2016-06-17 22:36:47 +00:00
fs.op.copy Implement LWG 3013 - some filesystem members should not be noexcept. 2017-10-30 18:59:59 +00:00
fs.op.copy_file Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.copy_symlink Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.create_directories Get filesystem tests passing for single-threaded configurations. 2016-06-17 21:44:26 +00:00
fs.op.create_directory [libcxx][filesystem] Remove setgid from parent before testing permissions 2016-07-18 06:06:50 +00:00
fs.op.create_directory_symlink Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.create_hard_link Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.create_symlink Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.current_path
fs.op.equivalent Fix equivalent test on OS X and FreeBSD 2017-07-05 03:54:38 +00:00
fs.op.exists add tests for ENAMETOOLONG 2017-02-17 01:00:37 +00:00
fs.op.file_size
fs.op.hard_lk_ct [test] Fix hard_link_count test to account for fs with dir nlink==1 2017-02-08 09:57:32 +00:00
fs.op.is_block_file
fs.op.is_char_file
fs.op.is_directory
fs.op.is_empty Implement LWG 3013 - some filesystem members should not be noexcept. 2017-10-30 18:59:59 +00:00
fs.op.is_fifo
fs.op.is_other
fs.op.is_regular_file
fs.op.is_socket
fs.op.is_symlink
fs.op.last_write_time Fix last_write_time.pass.cpp to work with clang-3.9 and earlier 2017-10-15 21:52:53 +00:00
fs.op.permissions [libcxx] [test] Fix comment typos, strip trailing whitespace. 2017-01-18 20:10:25 +00:00
fs.op.read_symlink Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.remove Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.remove_all Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.rename Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.resize_file Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.space Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
fs.op.status add tests for ENAMETOOLONG 2017-02-17 01:00:37 +00:00
fs.op.status_known
fs.op.symlink_status
fs.op.system_complete
fs.op.temp_dir_path filesystem: fix n4100 conformance for `temp_directory_path` 2017-02-05 17:21:52 +00:00