-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[OpenMP] Update ompdModule.c printf to match argument type #152785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Update printf format string to match argument list
|
✅ With the latest revision this PR passed the C/C++ code formatter. |
Co-authored-by: Joachim <[email protected]>
jprotze
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm, I don't see what clang-format is complaining about
|
@llvm/pr-subscribers-backend-x86 Author: None (CatherineMoore) ChangesUpdate printf format string to match argument list Full diff: https://github.com/llvm/llvm-project/pull/152785.diff 2 Files Affected:
diff --git a/llvm/lib/Target/X86/AsmParser/CMakeLists.txt b/llvm/lib/Target/X86/AsmParser/CMakeLists.txt
index ad7e14ccaaecf..01a6634f31456 100644
--- a/llvm/lib/Target/X86/AsmParser/CMakeLists.txt
+++ b/llvm/lib/Target/X86/AsmParser/CMakeLists.txt
@@ -1,6 +1,7 @@
add_llvm_component_library(LLVMX86AsmParser
X86AsmParser.cpp
+ SHARED
LINK_COMPONENTS
MC
MCParser
diff --git a/openmp/libompd/gdb-plugin/ompdModule.c b/openmp/libompd/gdb-plugin/ompdModule.c
index df602c54aba37..730e6c2b61d63 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, %i): "
- "Error code: %d",
- scope, icvId, retVal);
+ _printf(
+ "An error occurred when calling ompd_get_icv_from_scope(%i, %" PRIu64
+ "): Error code: %d",
+ scope, icvId, retVal);
}
return Py_None;
}
|
Update printf format string to match argument list --------- Co-authored-by: Joachim <[email protected]> Co-authored-by: Joachim Jenke <[email protected]>
Update printf format string to match argument list --------- Co-authored-by: Joachim <[email protected]> Co-authored-by: Joachim Jenke <[email protected]>
Update printf format string to match argument list