[Openmp-commits] [openmp] Update ompdModule.c (PR #152785)
via Openmp-commits
openmp-commits at lists.llvm.org
Fri Aug 8 13:04:11 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 c -- openmp/libompd/gdb-plugin/ompdModule.c
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/openmp/libompd/gdb-plugin/ompdModule.c b/openmp/libompd/gdb-plugin/ompdModule.c
index 8bc22a98f..b93b653a0 100644
--- a/openmp/libompd/gdb-plugin/ompdModule.c
+++ b/openmp/libompd/gdb-plugin/ompdModule.c
@@ -1180,9 +1180,10 @@ static PyObject *call_ompd_get_icv_from_scope(PyObject *self, PyObject *args) {
if (retVal != ompd_rc_ok) {
if (retVal != ompd_rc_incomplete) {
- _printf("An error occurred when calling ompd_get_icv_from_scope(%i, %ul): "
- "Error code: %d",
- scope, icvId, retVal);
+ _printf(
+ "An error occurred when calling ompd_get_icv_from_scope(%i, %ul): "
+ "Error code: %d",
+ scope, icvId, retVal);
}
return Py_None;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/152785
More information about the Openmp-commits
mailing list