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 b542501ad7020bc03437e0c5b12b3e89c05c05af 
4fac5b1defe9ce1174da4a2c75f84087f26c63ab -- clang/lib/Driver/OffloadBundler.cpp 
clang/test/Driver/clang-offload-bundler-zlib.c 
clang/test/Driver/clang-offload-bundler-zstd.c 
llvm/include/llvm/Support/Compression.h
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Driver/OffloadBundler.cpp 
b/clang/lib/Driver/OffloadBundler.cpp
index ef48b2f33d..cd6eb5fa3a 100644
--- a/clang/lib/Driver/OffloadBundler.cpp
+++ b/clang/lib/Driver/OffloadBundler.cpp
@@ -962,7 +962,8 @@ CompressedOffloadBundle::compress(const llvm::MemoryBuffer 
&Input,
                             ClangOffloadBundlerTimerGroup);
   if (Verbose)
     CompressTimer.startTimer();
-  llvm::compression::compress({CompressionFormat, Level}, BufferUint8, 
CompressedBuffer);
+  llvm::compression::compress({CompressionFormat, Level}, BufferUint8,
+                              CompressedBuffer);
   if (Verbose)
     CompressTimer.stopTimer();
 
diff --git a/llvm/include/llvm/Support/Compression.h 
b/llvm/include/llvm/Support/Compression.h
index 9c9c3e2cc4..f30da1ba38 100644
--- a/llvm/include/llvm/Support/Compression.h
+++ b/llvm/include/llvm/Support/Compression.h
@@ -94,8 +94,7 @@ struct Params {
   constexpr Params(Format F)
       : format(F), level(F == Format::Zlib ? zlib::DefaultCompression
                                            : zstd::DefaultCompression) {}
-  constexpr Params(Format F, int L)
-      : format(F), level(L) {}
+  constexpr Params(Format F, int L) : format(F), level(L) {}
   Params(DebugCompressionType Type) : Params(formatFor(Type)) {}
 
   Format format;

``````````

</details>


https://github.com/llvm/llvm-project/pull/83605
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to