[libc-commits] [clang] [libc] [llvm] [OpenMP][libc] Remove special handling for OpenMP printf (PR #98940)

via libc-commits libc-commits at lists.llvm.org
Mon Jul 15 10:49:32 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 0309709a6786653da7164334c83b09c9f37b943a 463a6c0cbaf46539be9fa9a2e89fe805d2bd4d7c --extensions h,cpp -- clang/lib/CodeGen/CGBuiltin.cpp clang/lib/CodeGen/CGGPUBuiltin.cpp clang/lib/CodeGen/CodeGenFunction.h llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp offload/DeviceRTL/include/LibC.h offload/DeviceRTL/src/LibC.cpp
``````````

</details>

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

``````````diff
diff --git a/offload/DeviceRTL/include/LibC.h b/offload/DeviceRTL/include/LibC.h
index 09e8c72175..59a795cc62 100644
--- a/offload/DeviceRTL/include/LibC.h
+++ b/offload/DeviceRTL/include/LibC.h
@@ -19,7 +19,6 @@ extern "C" {
 int memcmp(const void *lhs, const void *rhs, size_t count);
 void memset(void *dst, int C, size_t count);
 int printf(const char *format, ...);
-
 }
 
 #endif

``````````

</details>


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


More information about the libc-commits mailing list