On 10/11/2018 04:38 PM, Joseph Myers wrote:
On Thu, 11 Oct 2018, Martin Sebor wrote:
Attached is a documentation-only patch to clarify the use case
of multiple distinct format_arg attributes on a single function.
It's far from obvious that the use case makes sense so explicitly
mentioning it should help avoid the mistake of assuming that
accepting it is due to the lack of better checking in the area
(it could also prompt Clang to support the use case -- likely
an omission due to its obscurity).
This doc patch is OK (though I wonder if it should mention ngettext
explicitly as an example of a use case for multiple format_arg
attributes).
I've committed r265073 with a sentence mentioning it.
Martin