[libc-commits] [libc] change the return value type of mktime_internal to time_t (PR #132231)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sun Mar 23 05:38:17 PDT 2025


================
@@ -24,13 +24,19 @@
 namespace LIBC_NAMESPACE_DECL {
 namespace time_utils {
 
+
+// store the result of mktime_internal(const tm* )
+struct TMParse {
----------------
jhuber6 wrote:

`cpp::optional` is reasonable since we only need to indicate failure.

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


More information about the libc-commits mailing list