[cfe-dev] Parsing C++ code to an AST and processing the result
Russell Wallace via cfe-dev
cfe-dev at lists.llvm.org
Sat Dec 5 02:48:21 PST 2015
On Fri, Dec 4, 2015 at 12:22 PM, Manuel Klimek <klimek at google.com> wrote:
> You can implement your own FrontendAction / FrontendActionFactory, where
> you'll just get called with a TranslationUnitDecl (which is basically the
> whole AST).
That works, thanks! I initially tripped over the use of templates in the
factory, but the relevant line ends up being
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev