[flang-commits] [flang] [flang][openacc] Allow open acc routines from other modules. (PR #136012)
via flang-commits
flang-commits at lists.llvm.org
Wed Apr 16 12:20:28 PDT 2025
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 HEAD~1 HEAD --extensions h,cpp -- flang/include/flang/Lower/AbstractConverter.h flang/include/flang/Lower/OpenACC.h flang/include/flang/Semantics/symbol.h flang/lib/Lower/Bridge.cpp flang/lib/Lower/CallInterface.cpp flang/lib/Lower/OpenACC.cpp flang/lib/Semantics/mod-file.cpp flang/lib/Semantics/resolve-directives.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/lib/Lower/OpenACC.cpp b/flang/lib/Lower/OpenACC.cpp
index fb9e6e2e7..8934eb021 100644
--- a/flang/lib/Lower/OpenACC.cpp
+++ b/flang/lib/Lower/OpenACC.cpp
@@ -4240,7 +4240,7 @@ static void interpretRoutineDeviceInfo(
gangDimDeviceTypes.push_back(deviceType);
}
}
- if (const std::string *bindName{dinfo.bindName()}) {
+ if (const std::string * bindName{dinfo.bindName()}) {
bindNames.push_back(builder.getStringAttr(*bindName));
bindNameDeviceTypes.push_back(
mlir::acc::DeviceTypeAttr::get(context, getDeviceType(dinfo.dType())));
``````````
</details>
https://github.com/llvm/llvm-project/pull/136012
More information about the flang-commits
mailing list