[clang] [clang-tools-extra] [clang-tidy] Add support for use-after-suspend to bugprone-use-after-move (PR #172566)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 6 17:49:03 PST 2026


================
@@ -775,7 +775,8 @@ AST_MATCHER_P(ClassTemplateSpecializationDecl, hasSpecializedTemplate,
 /// implicit default/copy constructors).
 AST_POLYMORPHIC_MATCHER(isImplicit,
                         AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Attr,
-                                                        LambdaCapture)) {
+                                                        LambdaCapture,
+                                                        CoawaitExpr)) {
----------------
vbvictor wrote:

you should rerun https://github.com/llvm/llvm-project/blob/main/clang/docs/tools/dump_ast_matchers.py to update user-docs of matchers

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


More information about the cfe-commits mailing list