[flang-commits] [flang] GETLOG runtime and extension implementation: get login username (PR #70917)

via flang-commits flang-commits at lists.llvm.org
Wed Nov 1 03:20:05 PDT 2023


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 432e11478a928e60b95bb5c7d980f0313604b235 b6e0dfb3abcf84e9da81315c74521a3d36bad890 -- flang/include/flang/Optimizer/Builder/IntrinsicCall.h flang/include/flang/Optimizer/Builder/Runtime/Command.h flang/include/flang/Runtime/command.h flang/include/flang/Runtime/extensions.h flang/lib/Evaluate/intrinsics.cpp flang/lib/Optimizer/Builder/IntrinsicCall.cpp flang/lib/Optimizer/Builder/Runtime/Command.cpp flang/runtime/command.cpp flang/runtime/extensions.cpp flang/unittests/Optimizer/Builder/Runtime/CommandTest.cpp flang/unittests/Runtime/CommandTest.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/flang/include/flang/Runtime/command.h b/flang/include/flang/Runtime/command.h
index 9df15497c2e9..cb32fa842178 100644
--- a/flang/include/flang/Runtime/command.h
+++ b/flang/include/flang/Runtime/command.h
@@ -52,8 +52,8 @@ std::int32_t RTNAME(GetCommandArgument)(std::int32_t n,
     const Descriptor *errmsg = nullptr, const char *sourceFile = nullptr,
     int line = 0);
 
-std::int32_t RTNAME(GetLog)(const Descriptor *argument = nullptr,
-    const Descriptor *errmsg = nullptr);
+std::int32_t RTNAME(GetLog)(
+    const Descriptor *argument = nullptr, const Descriptor *errmsg = nullptr);
 
 // 16.9.84 GET_ENVIRONMENT_VARIABLE
 // Try to get the value of the environment variable specified by NAME.

``````````

</details>


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


More information about the flang-commits mailing list