summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2014-09-02 23:52:46 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2014-09-02 23:52:46 +0000
commitcb093955e9b3415be459fcb04822e932a690dc7f (patch)
treed00c490ba04ecdc712ef642007453f061c710295
parent7d7b9944b2d758a1abec619d2edd3e769575ce07 (diff)
downloadexternal_libcxx-cb093955e9b3415be459fcb04822e932a690dc7f.tar.gz
external_libcxx-cb093955e9b3415be459fcb04822e932a690dc7f.tar.bz2
external_libcxx-cb093955e9b3415be459fcb04822e932a690dc7f.zip
Fix comment that was obsoleted by r216949
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@216999 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--src/chrono.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/chrono.cpp b/src/chrono.cpp
index 83661b062..456941144 100644
--- a/src/chrono.cpp
+++ b/src/chrono.cpp
@@ -109,10 +109,8 @@ steady_clock::now() _NOEXCEPT
}
#else // __APPLE__
-// FIXME: We assume that clock_gettime(CLOCK_MONOTONIC) works on
-// non-apple systems. Instead, we should check _POSIX_TIMERS and
-// _POSIX_MONOTONIC_CLOCK and fall back to something else if those
-// don't exist.
+// FIXME: if _LIBCPP_HAS_NO_MONOTONIC_CLOCK, then clock_gettime isn't going to
+// work. It may be possible to fall back on something else, depending on the system.
// Warning: If this is not truly steady, then it is non-conforming. It is
// better for it to not exist and have the rest of libc++ use system_clock