[clang-tools-extra] [clang-tidy] Add llvm-mlir-use-after-erase check (PR #210727)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 24 06:13:27 PDT 2026
================
@@ -97,6 +97,15 @@ Improvements to clang-tidy
New checks
^^^^^^^^^^
+- New :doc:`llvm-mlir-use-after-erase
+ <clang-tidy/checks/llvm/mlir-use-after-erase>` check.
+
+ Detects uses of an ``mlir::Operation`` after it has been erased, either
----------------
Harald-R wrote:
Done: https://github.com/llvm/llvm-project/pull/210727/commits/4722c63e321a9e0e0823457a397d7301d11e1fd1
https://github.com/llvm/llvm-project/pull/210727
More information about the cfe-commits
mailing list