[cfe-commits] r107634 - /cfe/trunk/test/Analysis/retain-release.m

Jordy Rose jediknil at belkadan.com
Mon Jul 5 19:42:09 PDT 2010


Author: jrose
Date: Mon Jul  5 21:42:09 2010
New Revision: 107634

URL: http://llvm.org/viewvc/llvm-project?rev=107634&view=rev
Log:
Oops, tabs --> spaces in test.

Modified:
    cfe/trunk/test/Analysis/retain-release.m

Modified: cfe/trunk/test/Analysis/retain-release.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/retain-release.m?rev=107634&r1=107633&r2=107634&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/retain-release.m (original)
+++ cfe/trunk/test/Analysis/retain-release.m Mon Jul  5 21:42:09 2010
@@ -470,16 +470,16 @@
 
 // Test that an object is non-null after being CFRetained/CFReleased.
 void f17(int x, CFTypeRef p) {
-	if (x) {
-		CFRelease(p);
-		if (!p)
-			CFRelease(0); // no-warning
-	}
-	else {
-		CFRetain(p);
-		if (!p)
-			CFRetain(0); // no-warning
-	}
+  if (x) {
+    CFRelease(p);
+    if (!p)
+      CFRelease(0); // no-warning
+  }
+  else {
+    CFRetain(p);
+    if (!p)
+      CFRetain(0); // no-warning
+  }
 }
 
 // Test basic tracking of ivars associated with 'self'.  For the retain/release





More information about the cfe-commits mailing list