commit | 0ddb77a467e90256a57d06af8bf1900ec8890eaa | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Mon Jul 23 02:00:52 2018 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Mon Jul 23 02:00:52 2018 +0000 |
tree | 4e589af25d17d060f749bc939c3f6f59f2e44c9f | |
parent | e14f03815bb3485bb5ea795adb2c895853b3d1b8 [diff] |
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