[PATCH] [libcxx] Partially address a FIXME in steady_clock::now()

Dan Albert danalbert at google.com
Fri Aug 29 10:53:54 PDT 2014


================
Comment at: include/chrono:943
@@ -941,1 +942,3 @@
 typedef steady_clock high_resolution_clock;
+#else
+typedef system_clock high_resolution_clock;
----------------
jroelofs wrote:
> danalbert wrote:
> > Should there be a warning that the system won't use steady_clock?
> Implementing high_resolution_clock via a typedef to system_clock is explicitly allowed by the standard. I don't see a reason for a warning here.
Ah, alright. Fine by me.

http://reviews.llvm.org/D4045






More information about the cfe-commits mailing list