[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 07:59:05 PST 2026


================
@@ -0,0 +1,21 @@
+.. title:: clang-tidy - llvm-avoid-passing-mlir-op-as-ref
+
+llvm-avoid-passing-mlir-op-as-ref
+=================================
+
+Flags function parameters of a type derived from ``mlir::Op`` that are passed
----------------
EugeneZelenko wrote:

Please synchronize first statement with statement in Release Notes.

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


More information about the cfe-commits mailing list