[clang-tools-extra] [mlir] [clang-tidy][mlir] Add check for passing value type by reference. (PR #179882)

via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 5 00:24:38 PST 2026


github-actions[bot] wrote:

<!--LLVM CODE LINT COMMENT: doc8-->


:warning: RST documentation linter, doc8 found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

```bash
doc8 -q clang-tools-extra/docs/clang-tidy/checks/llvm/avoid-passing-mlir-op-as-ref.rst clang-tools-extra/docs/clang-tidy/checks/list.rst --config clang-tools-extra/clang-tidy/doc8.ini
```

</details>

<details>
<summary>
View the output from doc8 here.
</summary>

```
clang-tools-extra/docs/clang-tidy/checks/llvm/avoid-passing-mlir-op-as-ref.rst:6: D001 Line too long
clang-tools-extra/docs/clang-tidy/checks/llvm/avoid-passing-mlir-op-as-ref.rst:7: D001 Line too long
```


Note: documentation lines should be less than 80 characters wide.
</details>


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


More information about the cfe-commits mailing list