[cfe-dev] export from cmd

Kim Gräsman kim.grasman at gmail.com
Wed Jul 29 01:51:03 PDT 2015


your-clang-command > output.txt 2>&1

The first > redirects stdout into a file, and the 2>&1 redirects stderr
into stdout.

- Kim
Den 28 jul 2015 19:28 skrev "Bardia13" <hamedjahanyan at gmail.com>:

> hi all
> i have entered -ast-dump option for clang in cmd so the AST is shown to me.
> the problem is how can i export this output into a text format?
> i appreciate any help
> <http://clang-developers.42468.n3.nabble.com/file/n4046842/ex.jpg>
>
>
>
> --
> View this message in context:
> http://clang-developers.42468.n3.nabble.com/export-from-cmd-tp4046842.html
> Sent from the Clang Developers mailing list archive at Nabble.com.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150729/1421e363/attachment.html>


More information about the cfe-dev mailing list