[cfe-dev] Missing statements in the Clang print AST
Dmitri Gribenko
gribozavr at gmail.com
Fri Jan 18 04:52:09 PST 2013
On Fri, Jan 18, 2013 at 2:33 PM, Miguel Aguilar
<miguel.aguilar at ice.rwth-aachen.de> wrote:
> One last question, Is it possible to call only the frontend such that the
> proper options of the system are set, just like the driver does.
You can run "clang -### <other options>" to see the frontend
invocation command line.
Or you can ask the driver to add pass an option to the driver:
clang -Xclang -ast-dump ...
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the cfe-dev
mailing list