[cfe-dev] Lazily parsing additional source files
Gábor Horváth
xazax.hun at gmail.com
Mon May 19 11:37:19 PDT 2014
Hi!
I am working on a Google Summer of Code project to improve the Clang Static
Analyzer. In that project it would be essential to parse external source
files and inject AST into the translation unit that is being compiled. The
external files would contain definitons that are being looked up. The goal
would be to avoid runtime cost if no lookup is required. So basicly I want
to add new code lazily to an existing AST after parsing is done by
injecting new source code.
Moreover some type information may not be available in those external
source files, so type information in the translation unit that is being
analyzed should be utilized.
What do you think, what would be the most efficient and elegant way to
approach this problem?
Thanks in advance,
Gábor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140519/f3e3fddb/attachment.html>
More information about the cfe-dev
mailing list