[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 15:11:03 PDT 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: format_checker_note_call_location.patch
Type: text/x-patch
Size: 10437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111014/01db3d66/attachment.bin>


More information about the cfe-commits mailing list