[cfe-commits] r45004 - in /cfe/trunk/Driver: ASTConsumers.cpp clang.cpp

Chris Lattner clattner at apple.com
Mon Dec 17 14:31:07 PST 2007


On Dec 13, 2007, at 9:50 AM, Ted Kremenek wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=45004&view=rev
> Log:
> Changed -serialize-ast to not create a temporary directory, but  
> instead
> create a .ast file in the current working directory.  This mirrors  
> the behavior
> of the -c option for gcc.  Later we should add the ability to write  
> the
> serialized file anywhere.

At some point clang will need to grow a -o option.  When you do:

$ clang -serialize-ast foo.c -o foo.ast

Wouldn't it make sense for foo.ast to just be a directory?

-Chris






More information about the cfe-commits mailing list