[flang-commits] [flang] [flang][runtime] Decouple scalar output APIs from descriptors (PR #92444)
via flang-commits
flang-commits at lists.llvm.org
Fri May 17 10:34:06 PDT 2024
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 621d0f3e86ecc46c2df302041777e42dfc10171e 68a8cf287d976460f2fe9bc26cb99ce5c3faeada -- flang/runtime/io-api-common.h flang/runtime/io-api-minimal.cpp flang/runtime/descriptor-io.h flang/runtime/io-api.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/runtime/io-api-minimal.cpp b/flang/runtime/io-api-minimal.cpp
index 9ff6f617c9..ad76fe3de0 100644
--- a/flang/runtime/io-api-minimal.cpp
+++ b/flang/runtime/io-api-minimal.cpp
@@ -121,7 +121,7 @@ bool IODEF(OutputAscii)(Cookie cookie, const char *x, std::size_t length) {
if (!x) {
io.GetIoErrorHandler().Crash("Null address for character output item");
} else if (auto *listOutput{
- io.get_if<ListDirectedStatementState<Direction::Output>>()}) {
+ io.get_if<ListDirectedStatementState<Direction::Output>>()}) {
return ListDirectedCharacterOutput(io, *listOutput, x, length);
} else if (io.CheckFormattedStmtType<Direction::Output>("OutputAscii")) {
auto edit{io.GetNextDataEdit()};
``````````
</details>
https://github.com/llvm/llvm-project/pull/92444
More information about the flang-commits
mailing list