Commit Graph

3 Commits

Author SHA1 Message Date
Eric Fiselier
bb00305f46 Fix missing includes in format_string.hpp helper
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@337886 91177308-0d34-0410-b5e6-96231b3b80d8
2018-07-25 04:21:59 +00:00
Eric Fiselier
ba01d96cb5 Fix use of C++14 syntax in C++11 filesystem tests.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@337666 91177308-0d34-0410-b5e6-96231b3b80d8
2018-07-23 03:41:46 +00:00
Eric Fiselier
0ddb77a467 Implement filesystem_error::what() and improve reporting.
This patch implements the `what()` for filesystem errors. The message
includes the 'what_arg', any paths that were specified, and the
error code message.

Additionally this patch refactors how errors are created, making it easier
to report them correctly.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@337664 91177308-0d34-0410-b5e6-96231b3b80d8
2018-07-23 02:00:52 +00:00