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

Bill Wendling isanbard at gmail.com
Thu Mar 27 16:54:20 PDT 2008


This looks fine, except for this part:

Index: tools/Makefile
===================================================================
--- tools/Makefile	(revision 48878)
+++ tools/Makefile	(working copy)
@@ -16,7 +16,8 @@
                  llc llvm-ranlib llvm-ar llvm-nm \
                  llvm-ld llvmc llvm-prof llvm-link \
 		 lli gccas gccld llvm-extract llvm-db llvm2cpp \
-		 bugpoint llvm-bcanalyzer llvm-stub llvmc2
+		 bugpoint llvm-bcanalyzer llvm-stub llvmc2 \
+		 clang


 include $(LEVEL)/Makefile.config

I say apply. :-)

-bw

On Thu, Mar 27, 2008 at 4:35 PM, David Chisnall <csdavec at swansea.ac.uk> wrote:
> 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
>
>
>
> _______________________________________________
>  llvm-commits mailing list
>  llvm-commits at cs.uiuc.edu
>  http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>



More information about the llvm-commits mailing list