[Mlir-commits] [mlir] [MLIR] modify BytecodeWriterConfig to return const refs for callbacks (PR #85926)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Mar 20 05:54:00 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 fb5fd2d82f9befba9cf5152d1a0c5e6f91ee48f0 17294ada0845ad59a19681553d9f70c56e0a2981 -- mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Bytecode/Writer/BytecodeWriter.cpp b/mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
index 33b25bf38a..6dac2fecc2 100644
--- a/mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
+++ b/mlir/lib/Bytecode/Writer/BytecodeWriter.cpp
@@ -73,7 +73,7 @@ BytecodeWriterConfig::getAttributeWriterCallbacks() const {
   return impl->attributeWriterCallbacks;
 }
 
-ArrayRef<const std::unique_ptr<AttrTypeBytecodeWriter<Type>> &> 
+ArrayRef<const std::unique_ptr<AttrTypeBytecodeWriter<Type>> &>
 BytecodeWriterConfig::getTypeWriterCallbacks() const {
   return impl->typeWriterCallbacks;
 }

``````````

</details>


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


More information about the Mlir-commits mailing list