[all-commits] [llvm/llvm-project] 5eca5d: [flang-rt] Add implementation for date_and_time on...
David Truby via All-commits
all-commits at lists.llvm.org
Thu Apr 2 06:22:34 PDT 2026
Branch: refs/heads/users/DavidTruby/date_and_time
Home: https://github.com/llvm/llvm-project
Commit: 5eca5d7147167c2e904ad172eb9b71ceb33fe132
https://github.com/llvm/llvm-project/commit/5eca5d7147167c2e904ad172eb9b71ceb33fe132
Author: David Truby <david.truby at arm.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)
Changed paths:
M flang-rt/lib/runtime/time-intrinsic.cpp
M flang/include/flang/Common/windows-include.h
Log Message:
-----------
[flang-rt] Add implementation for date_and_time on Windows
date_and_time currently returns -HUGE and blank strings on Windows,
which is what the standard says to do when the date and time aren't
available. This patch adds an implementation that provides the actual
values by providing implementations of the posix functions used by the
existing implementation and then piggybacking off of that
implementation.
Note: This also bumps the minimum Windows version supported by flang-rt
to Windows 10, as some of the functions used here are not available in
earlier Windows versions. Since Windows < 10 is out of support by
Microsoft themselves it should be reasonable for flang-rt to drop
support for them.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list