summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/experimental/filesystem/class.filesystem_error
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-10-30 18:59:59 +0000
committerEric Fiselier <eric@efcs.ca>2017-10-30 18:59:59 +0000
commitddfdb32b302da2cf1b20d4c64444f9f58d5b8533 (patch)
tree829ddc8147e26bcb681722d8a9f2fe8bf1f34dd2 /libcxx/test/std/experimental/filesystem/class.filesystem_error
parentb81fbf44c7b0f8273210ef8aa34b5fefa4359dc4 (diff)
downloadbcm5719-llvm-ddfdb32b302da2cf1b20d4c64444f9f58d5b8533.tar.gz
bcm5719-llvm-ddfdb32b302da2cf1b20d4c64444f9f58d5b8533.zip
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
Diffstat (limited to 'libcxx/test/std/experimental/filesystem/class.filesystem_error')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud