[cfe-commits] r165273 - in /cfe/trunk: lib/CodeGen/CodeGenFunction.cpp test/CodeGen/catch-undef-behavior.c test/CodeGenCXX/catch-undef-behavior.cpp test/CodeGenCXX/return.cpp

Daniel Dunbar daniel at zuster.org
Wed Jan 23 11:57:59 PST 2013


On Wed, Jan 23, 2013 at 11:44 AM, Chandler Carruth <chandlerc at google.com>wrote:

>
> On Wed, Jan 23, 2013 at 11:07 AM, John McCall <rjmccall at apple.com> wrote:
>
>> A significant part of the problem, I believe, is that there's a lot of
>> mostly-externally-maintained C code which, at Apple, happens to need to be
>> compiled as C++.
>
>
> FWIW, this makes perfect sense, and also makes perfect sense out of a flag
> to essentially get C's return semantics in a C++ compilation in order to
> support such code.
>

This is still the wrong direction of the flag. I just haven't seen good
justification for changing the compiler in this way to merit the
possibility of breaking working code.

 - Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130123/9a23949c/attachment.html>


More information about the cfe-commits mailing list