[cfe-commits] r47439 - /cfe/trunk/CodeGen/CGExprConstant.cpp

Eli Friedman eli.friedman at gmail.com
Thu Feb 21 10:15:54 PST 2008


On Thu, Feb 21, 2008 at 10:09 AM, Lauro Ramos Venancio
<lauro.venancio at gmail.com> wrote:
> I think, it would be better to fix it in Sema.

By doing what exactly?  We can't just toss out parts of the AST to
make things easier for CodeGen.

There's been some discussion of initializers on cfe-dev previously...
I'd suggest looking at it to see what the issues are and what we're
considering.  An alternative way of dealing with this issue in
particular would be to mark "extra" braces so that CodeGen can check
for that instead of having to figure it out itself.

-Eli



More information about the cfe-commits mailing list