[cfe-dev] Compilation from memory

Manuel Klimek klimek at google.com
Thu Jul 16 02:22:47 PDT 2015


Yes, this is also possible with libclang. You use the CXUnsavedFile struct
when calling clang_parseTranslationUnit.

http://clang.llvm.org/doxygen/structCXUnsavedFile.html

On Wed, Jul 15, 2015 at 5:30 PM <deco33000 at yandex.com> wrote:

> Thanks,
>
> cannot libclang do the same ?
> My code is in C and I cannot afford c++ this time..
>
> --
> Jog
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150716/b5f7c360/attachment.html>


More information about the cfe-dev mailing list