summaryrefslogtreecommitdiffstats
path: root/libcxx/src/experimental/filesystem/filesystem_common.h
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-07-20 01:44:33 +0000
committerEric Fiselier <eric@efcs.ca>2018-07-20 01:44:33 +0000
commit41cdcbeedd761c6b9d349ce868e683cfcfef280f (patch)
tree9364295a5fa10c31efe876f928b6e3a0193ffb9f /libcxx/src/experimental/filesystem/filesystem_common.h
parentd8734450a26a8bdf135d56f7ddf6bc7286f8ce05 (diff)
downloadbcm5719-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.h4
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>;
OpenPOWER on IntegriCloud