[cfe-commits] r64308 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.def lib/Sema/SemaStmt.cpp test/Parser/objc-try-catch-1.m test/SemaObjC/try-catch.m
Chris Lattner
clattner at apple.com
Wed Feb 11 17:19:25 PST 2009
On Feb 11, 2009, at 10:30 AM, steve naroff wrote:
>> Shouldn't this reject aggregates with an error?
>>
>
> I'd prefer we make this an error for all cases (rather than a mix of
> errors/warnings).
>
> GCC's "implicit" diagnostics (based on the underlying function call/
> ABI) seem like a poor model for clang to follow (in retrospect).
This has to be an error for aggregates and "should" be an error for
integers. I'm fine keeping it a warning for integers or just emitting
an error for either, your choice!
> Here is a small test case below (with clang/gcc output).
nice!
-Chris
More information about the cfe-commits
mailing list