[libcxx-commits] [PATCH] D104987: Use GetSystemTimePreciseAsFileTime() if available

Saleem Abdulrasool via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 12 09:32:16 PDT 2021


compnerd accepted this revision.
compnerd added a comment.

Please do clang-format the patch as well.



================
Comment at: libcxx/src/chrono.cpp:68
+
+typedef void(WINAPI* FP)(LPFILETIME);
+
----------------
Can you change this to `GetFileTimePreciseAsFileTimePtr`?  I think that `FP` is a bit too terse, and confusing within the standard library implementation.  I think that a `using` alias may be nicer.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104987/new/

https://reviews.llvm.org/D104987



More information about the libcxx-commits mailing list