Re: [cfe-users] Getting function body from AST for interprocedural analysis

2018-03-23 Thread George Karpenkov via cfe-users
Hi Lauro, I think you would have more luck asking on cfe-dev mailing list. Do I understand your question correctly as wishing to do cross-translation-unit analysis? Clang static analyzer has an experimental flag for doing that, which relies on ASTImporter library (which tries to import AST for

[cfe-users] Getting function body from AST for interprocedural analysis

2018-03-14 Thread Lauro Cruz via cfe-users
Good Evening! I'm playing a little with Clang and I'm trying to do a sort of interprocedural def-use analysis in the clang AST and I need to visit the body of functions not defined in the current file. I've been searching a way to do that and I see there is something to do with Libtooling, but I