[cfe-dev] file handling

Manuel Klimek klimek at google.com
Fri Apr 13 01:41:52 PDT 2012

On Wed, Apr 11, 2012 at 5:47 AM, akshay ratnaparkhi <ackk007 at gmail.com> wrote:
> Hi all,
>       Can any one tell me how to handle files in clang. I want to open the
> file in write mode and write some data in file. Can i use iostream ios::
> file handling in clang plugin.

LLVM has its own ostream (in your case: llvm::raw_fd_ostream):


>  Thanks,
>       akshay
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

More information about the cfe-dev mailing list