[cfe-dev] Running AST matchers on part of the AST

Daniel Marjamäki via cfe-dev cfe-dev at lists.llvm.org
Mon Aug 29 06:01:54 PDT 2016


Hi!

Before you do that.. I would like to know why you would do that?

I don't think it sounds ok unless there is a good reason.

Best regards,
Daniel Marjamäki

-----Original Message-----
From: cfe-dev [mailto:cfe-dev-bounces at lists.llvm.org] On Behalf Of David Come via cfe-dev
Sent: den 29 augusti 2016 14:55
To: cfe-dev at lists.llvm.org
Subject: [cfe-dev] Running AST matchers on part of the AST

Hi,

I would like to run some dynamic matchers on a single function body or I can either run it the full AST (MatchFinder::matchAST) or on a single node (MatchFinder::match).


What is the best way to achieve what I want ? Do you think it is worth I change clang's code and submit a patch ?


Thanks,

David.

_______________________________________________
cfe-dev mailing list
cfe-dev at lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


More information about the cfe-dev mailing list