[Mlir-commits] [mlir] [mlir][doc] Escape effects, interfaces, and traits (PR #76297)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Dec 23 10:29:50 PST 2023


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 acacec3bbf4586ef9bc6c4f31707d3515d5215a1 1541f23f2e2b81cd384b687c0c3937bf6972a0e4 -- mlir/tools/mlir-tblgen/OpDocGen.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/tools/mlir-tblgen/OpDocGen.cpp b/mlir/tools/mlir-tblgen/OpDocGen.cpp
index 9e7ec5b13a..7cd2690ea8 100644
--- a/mlir/tools/mlir-tblgen/OpDocGen.cpp
+++ b/mlir/tools/mlir-tblgen/OpDocGen.cpp
@@ -126,7 +126,7 @@ static void emitAssemblyFormat(StringRef opName, StringRef format,
 /// Place `text` between backticks so that the Markdown processor renders it as
 /// inline code.
 static std::string backticks(const std::string &text) {
-    return '`' + text + '`';
+  return '`' + text + '`';
 }
 
 static void emitOpTraitsDoc(const Operator &op, raw_ostream &os) {

``````````

</details>


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


More information about the Mlir-commits mailing list