[cfe-commits] r76605 - /cfe/trunk/test/Analysis/complex.c
Mike Stump
mrs at apple.com
Tue Jul 21 11:44:26 PDT 2009
Author: mrs
Date: Tue Jul 21 13:44:24 2009
New Revision: 76605
URL: http://llvm.org/viewvc/llvm-project?rev=76605&view=rev
Log:
Prep for new warnings about control flow falling off the ends of
functions that return a value. I was going to buffer the whole lot
up, but it should be easier to review if I check them in
incrementally. Most of the forth coming changes either add a return
value, or make it impossible to return, or alter the return type.
Modified:
cfe/trunk/test/Analysis/complex.c
Modified: cfe/trunk/test/Analysis/complex.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/complex.c?rev=76605&r1=76604&r2=76605&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/complex.c (original)
+++ cfe/trunk/test/Analysis/complex.c Tue Jul 21 13:44:24 2009
@@ -7,7 +7,7 @@
#include <stdint.h>
-int f1(int * p) {
+void f1(int * p) {
// This branch should be infeasible
// because __imag__ p is 0.
More information about the cfe-commits
mailing list