[llvm] [flang] [clang-tools-extra] [clang] [flang] GETLOG runtime and extension implementation: get login username (PR #74628)

Yi Wu via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 8 12:24:49 PST 2023


================
@@ -37,5 +77,30 @@ void FORTRAN_PROCEDURE_NAME(getarg)(
   (void)RTNAME(GetCommandArgument)(
       n, &value, nullptr, nullptr, __FILE__, __LINE__);
 }
+
+// CALL GETLOG(USRNAME)
+void FORTRAN_PROCEDURE_NAME(getlog)(std::int8_t *arg, std::int64_t length) {
----------------
yi-wu-arm wrote:

Done. Thanks for pointing this out.

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


More information about the cfe-commits mailing list