Fixing whitespace problems
llvm-svn: 111751
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 940e211c87ceb6e43bf7a2bfd5df9783ad75ae6c
diff --git a/src/chrono.cpp b/src/chrono.cpp
index d06fbf7..606a6ad 100644
--- a/src/chrono.cpp
+++ b/src/chrono.cpp
@@ -15,7 +15,7 @@
#include <cerrno> // errno
#include <system_error> // __throw_system_error
#include <time.h> // clock_gettime, CLOCK_MONOTONIC
-#endif /* __APPLE__ */
+#endif // __APPLE__
_LIBCPP_BEGIN_NAMESPACE_STD
@@ -103,7 +103,7 @@
return time_point(duration(fp()));
}
-#else /* !APPLE */
+#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
@@ -121,7 +121,7 @@
__throw_system_error(errno, "clock_gettime(CLOCK_MONOTONIC) failed");
return time_point(seconds(tp.tv_sec) + nanoseconds(tp.tv_nsec));
}
-#endif /* APPLE */
+#endif // __APPLE__
}