[cfe-commits] [PATCH] format attribute improvements.
fjahanian at apple.com
Tue Jan 24 16:48:21 PST 2012
On Jan 24, 2012, at 4:39 PM, Jean-Daniel Dupas wrote:
> Here is a series of small patches to improve format attribute handling:
> 1-type: defer format type checking until we really need it. With this change, clang can report basic error (empty format, non literal format) for all supported formats, and not just printf/scanf.
> This patch also remove the special handling of printf0 attribute. As we consider that printf does not imply null format (r113469), this special case is no longer useful.
> 2-block: A simple change that enable support for multiple format attribute on a single block. It make block's "format attribute" handling on par with functions.
This patch looks good.
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
More information about the cfe-commits