[libcxx] [clang-tools-extra] [flang] [lldb] [clang] [libc] [compiler-rt] [llvm] [flang] FDATE extension implementation: get date and time in ctime format (PR #71222)

Yi Wu via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 3 09:43:20 PST 2024


================
@@ -22,6 +22,9 @@ extern "C" {
 // CALL FLUSH(n) antedates the Fortran 2003 FLUSH statement.
 void FORTRAN_PROCEDURE_NAME(flush)(const int &unit);
 
+// GNU extension subroutine FDATE
+void FORTRAN_PROCEDURE_NAME(fdate)(std::byte *string, std::int64_t length);
----------------
yi-wu-arm wrote:

if it is `char` then it won't work for some reason

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


More information about the llvm-commits mailing list