[cfe-commits] r154619 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaExpr.cpp test/SemaObjC/objc-literal-nsnumber.m

Ted Kremenek kremenek at apple.com
Thu Apr 12 14:49:57 PDT 2012


On Apr 12, 2012, at 2:37 PM, Eli Friedman <eli.friedman at gmail.com> wrote:

> In any case, is it really worth warning here?  If we really want to
> warn about constructs like this, we should warn about the typedef
> itself, not the bool literal.

Warning on the typedef makes sense, but it would only be seen in practice by the vendor of that typedef, as this typedef typically appears in a system header and would be suppressed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120412/473252d7/attachment.html>


More information about the cfe-commits mailing list