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

Peter Klausler via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 4 08:14:27 PST 2023


================
@@ -39,6 +39,17 @@
 // overload will have a dummy parameter whose type indicates whether or not it
 // should be preferred. Any other parameters required for SFINAE should have
 // default values provided.
+
+// outside anonymous namespace, function reused
----------------
klausler wrote:

There's a `CopyAndPad()` template function in flang/runtime/character.cpp that could be moved to a header file and used here.

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


More information about the cfe-commits mailing list