[clang] [clang-tools-extra] [libc] [libc][c11] implement ctime (PR #107285)

Зишан Мирза via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 5 11:43:11 PDT 2024


================
@@ -62,6 +62,9 @@ struct TimeConstants {
   static constexpr int ASCTIME_BUFFER_SIZE = 256;
   static constexpr int ASCTIME_MAX_BYTES = 26;
 
+  static constexpr int CTIME_BUFFER_SIZE = 256;
----------------
zimirza wrote:

That is correct. I have removed these and just used `asctime` constants.

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


More information about the cfe-commits mailing list