[cfe-dev] TreeTransform and Clang
John McCall
rjmccall at apple.com
Sun Aug 8 11:43:47 PDT 2010
On Aug 8, 2010, at 9:11 AM, Vassil Vassilev wrote:
> Yes you are right but I don't know why there is no generation of parse
> tree which is correct according to the grammar and then to be passed for
> semantic validation.
Because it's expensive to create, we haven't found it to be useful, and it's pretty
much hopeless anyway. C does not have an unambiguous context-free
grammar; the C++ grammar is the same, only much more so.
John.
More information about the cfe-dev
mailing list