commit r138854 (Improve the diagnostic text for -Wmissing-noreturn to include 
the name of the function) does not handle Obj-C method case, and cause clang to 
assert when trying to emit the diagnostic due to a missing diagnostic argument.

This patch add Obj-C method handling (and update the diagnostic output to use 
either "function" or "method" accordingly).

Please, can someone have a look at it, and commit it if it is fine.
Thanks

-- Jean-Daniel



Attachment: noreturn.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to