[llvm-commits] Control reaches the end of non-void function

David Chisnall csdavec at swansea.ac.uk
Thu Mar 27 16:35:19 PDT 2008


Some versions of GCC can't tell that an assert that always fails  
counts as a return path, so emits warnings. I've enclosed a diff that  
fixes this in all of the places it currently appears.

David
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nonvoid.diff.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080327/00e7a32f/attachment.txt>
-------------- next part --------------



More information about the llvm-commits mailing list