Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test PR to verify code formatting CI #123

Conversation

mgehre-amd
Copy link
Collaborator

No description provided.

Copy link

⚠️ C/C++ code formatter, clang-format found issues in your code. ⚠️

You can test this locally with the following command:
git-clang-format --diff be39468b005e35ee46fea7f65472d23c4b6ef7d2 646584bf85c279a84171eeef7d31352984ec5573 -- mlir/lib/Conversion/MemRefToEmitC/MemRefToEmitC.cpp
View the diff from clang-format here.
diff --git a/mlir/lib/Conversion/MemRefToEmitC/MemRefToEmitC.cpp b/mlir/lib/Conversion/MemRefToEmitC/MemRefToEmitC.cpp
index 2e8bfcd8b6..52be3d85af 100644
--- a/mlir/lib/Conversion/MemRefToEmitC/MemRefToEmitC.cpp
+++ b/mlir/lib/Conversion/MemRefToEmitC/MemRefToEmitC.cpp
@@ -90,10 +90,8 @@ struct ConvertMemRefToEmitCPass
         [](func::FuncOp op) { return isSignatureLegal(op.getFunctionType()); });
     target.addDynamicallyLegalDialect<func::FuncDialect>(
         [](Operation *op) { return isLegal(op); });
-    target.addIllegalDialect<
-    memref::MemRefDialect
-    >(
-      
+    target.addIllegalDialect<memref::MemRefDialect>(
+
     );
 
     if (failed(applyPartialConversion(getOperation(), target,

@mgehre-amd mgehre-amd closed this Feb 29, 2024
@mgehre-amd mgehre-amd deleted the matthias.check_code_formatting branch September 3, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant