[clang-tools-extra] [clang-tidy] Add llvm-mlir-use-after-erase check (PR #210727)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 27 08:07:04 PDT 2026


vbvictor wrote:

> For convenience as a user, I lean towards a dedicated check.

For convenience we have alias mechanism which is a "main" check + predefined defaults. Half of llvm check are aliases. I'm overall leaning towards making use-after-move check more configurable so it could cover all llvm cases and then make an alias.

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


More information about the cfe-commits mailing list