Issue 117879
Summary [Clang][AST Matchers] Missing attributedStmt AST matcher
Labels clang
Assignees
Reporter DistinctWind
    Currently I'm playing with AST Transformer and I want to transform certain attributed statements. In the first step, I need to match the attributed statements. However, I didn't find any AST Matcher that will match AST Nodes `AttributedStmt`, `AnnotateAttr` and its corresponding statement in ASTMatchers.h.

I found a [code review](https://reviews.llvm.org/D120949?id=418341#inline-1163697) from the old llvm review platform, which is well discussed and approved. But it doesn't appear in current llvm 20 git build and I can't find any related Github Issue.

I wounder if it's forgot for some reason. Clang 20 now [supports](https://github.com/llvm/llvm-project/pull/110334) adding custom attribute in a plugin, so I think it's also a point to add support for matching `AttributedStmt` nodes.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to