[clang-tools-extra] [clang-tidy] use-after-move: Support null_after_move annotations (PR #186903)

Zeyi Xu via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 21 00:33:23 PDT 2026


================
@@ -8,11 +8,14 @@
 
 #include "UseAfterMoveCheck.h"
 
+#include "clang/AST/Attr.h"
 #include "clang/AST/Expr.h"
 #include "clang/AST/ExprCXX.h"
+#include "clang/AST/Type.h"
----------------
zeyi2 wrote:

Nit: Not needed? Clang-tidy codebase relies on transitive rule for header file.
```suggestion
```

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


More information about the cfe-commits mailing list