[cfe-dev] clang_parseTranslationUnit2 from memory buffer

marco8759 at libero.it marco8759 at libero.it
Tue May 19 13:06:02 PDT 2015

Is it possible to parse a file with libclang (clang_parseTranslationUnit2) from a memory buffer instead of having to keep the file on disk?

That would hugely increase speed (I have some buffers with cpp files into them and I'd like to avoid writing them to disk before parsing)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150519/7a52dde4/attachment.html>

More information about the cfe-dev mailing list