[clang] [SystemZ][z/OS] This change adds support for the PPA2 section in zOS (PR #65407)

Yusra Syeda via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 29 12:48:45 PDT 2023


================
@@ -33,13 +33,33 @@ namespace sys {
 template <typename D = std::chrono::nanoseconds>
 using TimePoint = std::chrono::time_point<std::chrono::system_clock, D>;
 
+// utc_clock and utc_time are only available since C++20. Add enough code to
+// support formatting date/time in UTC.
+class UtcClock : public std::chrono::system_clock {};
----------------
ysyeda wrote:

I created a new PR for the UTC clock changes here: https://github.com/llvm/llvm-project/pull/67846

https://github.com/llvm/llvm-project/pull/65407


More information about the cfe-commits mailing list