[Mlir-commits] [mlir] Fix roundtripping for SPIRV_LinkageAttributesAttr (PR #82951)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Feb 25 18:55:33 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 bc6b5be6a298ab094d1bb41f393ca422feddd298 a0a669fa1b29eb1688ebf99bab22a65ba78975c6 -- mlir/include/mlir/IR/OpImplementation.h
``````````

</details>

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

``````````diff
diff --git a/mlir/include/mlir/IR/OpImplementation.h b/mlir/include/mlir/IR/OpImplementation.h
index 8c743c316c..9fcaa78de1 100644
--- a/mlir/include/mlir/IR/OpImplementation.h
+++ b/mlir/include/mlir/IR/OpImplementation.h
@@ -176,9 +176,9 @@ public:
     *this << attrOrType;
   }
 
-  template<>
+  template <>
   void printStrippedAttrOrType(std::string attrOrType) {
-    return printString(attrOrType);   
+    return printString(attrOrType);
   }
 
   /// Print the given attribute without its type. The corresponding parser must

``````````

</details>


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


More information about the Mlir-commits mailing list