[cfe-dev] clang-interpreter example and in-memory buffer
S.Parker3 at lboro.ac.uk
Sat May 25 11:51:31 PDT 2013
I was also trying to figure this out, during the week, for some source
to source transformations.
On 25/05/2013 18:00, Adam Seering wrote:
> Hi all,
> I'm new to libclang/etc; I'm trying to do something very similar
> to what the "clang-interpreter" example is doing, except I'm playing
> with generating the .cpp file dynamically.
> I could write it out to a temp file, but that means dealing with
> temp files... I already have the content I want in a string in
> memory. I'm just wondering if there's a reasonably-simple way to pass
> the file data in directly rather than actually writing it to a file?
> Any pointers?
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
More information about the cfe-dev