diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-07-20 01:44:33 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-07-20 01:44:33 +0000 |
commit | 41cdcbeedd761c6b9d349ce868e683cfcfef280f (patch) | |
tree | 9364295a5fa10c31efe876f928b6e3a0193ffb9f /libcxx/src/experimental/filesystem/filesystem_common.h | |
parent | d8734450a26a8bdf135d56f7ddf6bc7286f8ce05 (diff) | |
download | bcm5719-llvm-41cdcbeedd761c6b9d349ce868e683cfcfef280f.tar.gz bcm5719-llvm-41cdcbeedd761c6b9d349ce868e683cfcfef280f.zip |
Use _LIBCPP_UNREACHABLE to convince GCC that non-void functions actually always return
llvm-svn: 337519
Diffstat (limited to 'libcxx/src/experimental/filesystem/filesystem_common.h')
-rw-r--r-- | libcxx/src/experimental/filesystem/filesystem_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/experimental/filesystem/filesystem_common.h b/libcxx/src/experimental/filesystem/filesystem_common.h index ab7ecbd013e..0dd6e9ee438 100644 --- a/libcxx/src/experimental/filesystem/filesystem_common.h +++ b/libcxx/src/experimental/filesystem/filesystem_common.h @@ -228,8 +228,8 @@ public: } // namespace time_util -using TimeSpec = struct timespec; -using StatT = struct stat; +using TimeSpec = struct ::timespec; +using StatT = struct ::stat; using FSTime = time_util::fs_time_util<file_time_type, time_t, struct timespec>; |