[Patch]"Sema::checkFormatStringExpr" should check multiple "FormatAttr".
Rafael EspĂndola
rafael.espindola at gmail.com
Tue Sep 3 07:46:51 PDT 2013
What is the expected meaning of
const char* f2(const char *s1, const char *s2) __attribute__((format_arg(1)));
const char* f2(const char *s1, const char *s2) __attribute__((format_arg(2)));
Can you add a test showing we do the correct thing?
On 2 September 2013 19:36, Fuyao Zhao <fuyaoz at google.com> wrote:
> Hi,
>
> Functions could have multiple "FormatAttr" attributes, but
> "Sema::checkFormatStringExpr" only checks last one. I attached the patch in
> the mail.
> --
> Fuyao Zhao
>
>
> _______________________________________________
> 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