[cfe-commits] [PATCH] Improve diagnostic for -Wmissing-noreturn

Joerg Sonnenberger joerg at britannica.bec.de
Sat Aug 27 16:00:37 PDT 2011

Hi all,
attached patch tries to make the -Wmissing-noreturn message a bit more
useful. Often enough, the function in question has the prototype in a
separate file, so it avoids work knowing the name in advance. I'm not
sure whether it is better to print the plain name or the full diagnostic
string, so I'm going with the latter for now.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: noreturn.diff
Type: text/x-diff
Size: 1738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110828/5ce53594/attachment.diff>

More information about the cfe-commits mailing list