On Sep 6, 2012, at 6:03 PM, João Matos wrote:
> I actually liked the patch you posted on IRC better. It modified the mangling
> while it was being stored on FunctionType, which means mangling code (and
> code gen?) don't need to me modified. This one is duplicating the same logic
> in both mangling and code-gen.
>
> On Fri, Sep 7, 2012 at 1:58 AM, John McCall <[email protected]> wrote:
> How ignored is it, exactly? Is it still checked syntactically? for
> redundancy? in the type system at all?
>
> Basically, I'm asking if we can #define it. :)
>
> John.
>
> Won't we lose the type information on the AST then? And have the problems
> Aaron mentioned such as incorrect behavior when pretty-printing or rewriting
> code.
If MSVC deals with it in the preprocessor — and I'm not saying they do, I'm
just saying it's a possibility — then that's what we should do. If they check
it like a normal CC but ignore it during code generation, that's different.
John.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits