[cfe-commits] [PATCH] format attribute improvements.
jahanian
fjahanian at apple.com
Tue Jan 24 16:48:21 PST 2012
On Jan 24, 2012, at 4:39 PM, Jean-Daniel Dupas wrote:
> Hi,
>
> 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.
- Fariborz
>
> <1-type.patch><2-block.patch><3-macros.patch><4-objc-const.patch><5-vprintf.patch>_______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list