On Mon, Jul 27, 2009 at 2:54 PM, Daniel Dunbar<[email protected]> wrote:
> My initial reaction was to agree with Mike, but I think I've come
> around to believing it should be in the AST.

How about just adding the following to FunctionDecl?

bool hasImplicitReturnZero() { return isMain(); }

(Yes, it looks slightly silly, but I don't see the need for something
more complicated.)

-Eli
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to