[cfe-commits] [PATCH] Point back at the callsite when emitting a warning about a format string

Matt Beaumont-Gay matthewbg at google.com
Fri Oct 14 18:39:30 PDT 2011

Clearly I should have been reading the list more closely, since
Richard Trieu sent out a patch yesterday to address this same problem.
I don't care which patch goes in, as long as the bug gets fixed :)

On Fri, Oct 14, 2011 at 15:11, Matt Beaumont-Gay <matthewbg at google.com> wrote:
> Fixes PR9751. Any other expression kinds we should look through in
> NoteCallLocation? I'm a little unhappy with the pile of dyn_cast<>s
> stolen from Sema::SemaCheckStringLiteral for handling format_arg
> functions, but I don't think it's worth pulling them out into a
> helper.
> -Matt

More information about the cfe-commits mailing list