Re: [cfe-users] Compile from source code string

2022-01-19 Thread Matthew Fernandez via cfe-users
> On Jan 17, 2022, at 21:59, 0dminnimda <0dminni...@gmail.com> wrote: > > > The phrase “clang api” is a bit vague (libclang?) > > If it's possible, then of course LibClang as it's backward compatible, but I > know that it's restricted in functionality, so if LibClang don't give such > freedom,

Re: [cfe-users] Compile from source code string

2022-01-19 Thread 0dminnimda via cfe-users
Right now I'm in process of trying this approach: Copy the code from cc1_main, write my own SourceManager and set it to CompilerInstance with setSourceManager(). On Wed, Jan 19, 2022, 7:45 PM Matthew Fernandez wrote: > > > On Jan 17, 2022, at 21:59, 0dminnimda <0dminni...@gmail.com> wrote: > >