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 <[email protected]> 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
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to