[Mlir-commits] [llvm] [mlir] [mlir][py] Make Python enum gen consistent with C++ type (PR #119407)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Dec 10 08:17:50 PST 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 698d83218565d60580d7c71e0fce89a38134a5c6 ab53eb773331e25270c716536287cc64ed4075e4 --extensions cpp -- mlir/tools/mlir-tblgen/EnumPythonBindingGen.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/tools/mlir-tblgen/EnumPythonBindingGen.cpp b/mlir/tools/mlir-tblgen/EnumPythonBindingGen.cpp
index d815a4e62c..6fba86825a 100644
--- a/mlir/tools/mlir-tblgen/EnumPythonBindingGen.cpp
+++ b/mlir/tools/mlir-tblgen/EnumPythonBindingGen.cpp
@@ -15,9 +15,9 @@
 #include "mlir/TableGen/AttrOrTypeDef.h"
 #include "mlir/TableGen/Attribute.h"
 #include "mlir/TableGen/Dialect.h"
-#include "llvm/TableGen/Error.h"
 #include "mlir/TableGen/GenInfo.h"
 #include "llvm/Support/FormatVariadic.h"
+#include "llvm/TableGen/Error.h"
 #include "llvm/TableGen/Record.h"
 
 using namespace mlir;

``````````

</details>


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


More information about the Mlir-commits mailing list