[llvm] [SYCL][LLVM] Adding property set I/O library for SYCL (PR #110771)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 09:18:41 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 24d707e215a1e2d34d5c34156573a8607ab349f9 0b4ad716189c3fcfb6e77d299d12c11a3784af0b --extensions cpp,h -- llvm/include/llvm/Support/PropertySetIO.h llvm/lib/Support/PropertySetIO.cpp llvm/unittests/Support/PropertySetIOTest.cpp llvm/include/llvm/Support/Base64.h llvm/lib/Support/Base64.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Support/PropertySetIO.cpp b/llvm/lib/Support/PropertySetIO.cpp
index 4da235429e..0bb17a9ead 100644
--- a/llvm/lib/Support/PropertySetIO.cpp
+++ b/llvm/lib/Support/PropertySetIO.cpp
@@ -141,7 +141,8 @@ template <> PropertyValue::Type PropertyValue::getTypeTag<byte *>() {
   return BYTE_ARRAY;
 }
 
-PropertyValue::PropertyValue(const byte *Data, SizeTy DataBitSize) : Ty(BYTE_ARRAY) {
+PropertyValue::PropertyValue(const byte *Data, SizeTy DataBitSize)
+    : Ty(BYTE_ARRAY) {
   constexpr int ByteSizeInBits = 8;
   SizeTy DataSize = (DataBitSize + (ByteSizeInBits - 1)) / ByteSizeInBits;
   constexpr size_t SizeFieldSize = sizeof(SizeTy);

``````````

</details>


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


More information about the llvm-commits mailing list