]> granicus.if.org Git - clang/commitdiff
Oops, tabs --> spaces in test.
authorJordy Rose <jediknil@belkadan.com>
Tue, 6 Jul 2010 02:42:09 +0000 (02:42 +0000)
committerJordy Rose <jediknil@belkadan.com>
Tue, 6 Jul 2010 02:42:09 +0000 (02:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107634 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/retain-release.m

index c1d6b06f59c703c77bcd985bdb6757e984ee7d1d..c9c7d271347b193098b39fa5e05b2225d6dbc3ec 100644 (file)
@@ -470,16 +470,16 @@ void f16(int x, CFTypeRef p) {
 
 // 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