[flang-commits] [flang] FDATE extension implementation: get date and time in ctime format (PR #71222)
Yi Wu via flang-commits
flang-commits at lists.llvm.org
Fri Nov 10 05:03:00 PST 2023
================
@@ -125,6 +126,33 @@ static bool FitsInDescriptor(
kind, terminator, value);
}
+void removeNewLine(char *str) {
+ char *newlinePos = strchr(str, '\n');
+ if (newlinePos != NULL) {
----------------
PAX-12-WU wrote:
Done
https://github.com/llvm/llvm-project/pull/71222
More information about the flang-commits
mailing list