[clang-tools-extra] [clang-tidy] Add MLIR check for old op builder usage. (PR #149148)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 16 12:30:33 PDT 2025


vbvictor wrote:

I think we should go through an RFC before creating a new module.

TBH, I don't think we need a new module for MLIR in upstream since it is not a widely known thing in C++ community. Would it be viable for MLIR folks to use [plugins](https://clang.llvm.org/extra/clang-tidy/Contributing.html#out-of-tree-check-plugins) or have a dedicated directory with custom checks in MLIR project like libcxx [do](https://github.com/llvm/llvm-project/tree/main/libcxx/test/tools/clang_tidy_checks).

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


More information about the cfe-commits mailing list