[cfe-commits] r171045 - /cfe/trunk/test/SemaObjC/warn-retain-block-property.m

Jordan Rose jordan_rose at apple.com
Sat Dec 29 22:42:39 PST 2012


I don't think this case was testing it, but in some cases we prefer not to combine the clang and FileCheck run lines because we want to check that the clang result status is 0. Do you happen to remember the lit rules for when the output status is tested?


On Dec 24, 2012, at 13:45 , Nick Lewycky <nicholas at mxc.ca> wrote:

> Author: nicholas
> Date: Mon Dec 24 15:45:14 2012
> New Revision: 171045
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=171045&view=rev
> Log:
> Simplify RUN lines. No functionality change.
> 
> Modified:
>    cfe/trunk/test/SemaObjC/warn-retain-block-property.m
> 
> Modified: cfe/trunk/test/SemaObjC/warn-retain-block-property.m
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/warn-retain-block-property.m?rev=171045&r1=171044&r2=171045&view=diff
> ==============================================================================
> --- cfe/trunk/test/SemaObjC/warn-retain-block-property.m (original)
> +++ cfe/trunk/test/SemaObjC/warn-retain-block-property.m Mon Dec 24 15:45:14 2012
> @@ -1,7 +1,7 @@
> -// RUN: %clang_cc1 -fsyntax-only -fblocks -fobjc-arc -Wno-objc-root-class %s > %t.arc 2>&1 ; FileCheck --check-prefix=CHECK-ARC --input-file=%t.arc %s
> +// RUN: %clang_cc1 -fsyntax-only -fblocks -fobjc-arc -Wno-objc-root-class %s 2>&1 | FileCheck --check-prefix=CHECK-ARC %s
> // rdar://9829425
> 
> -// RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-objc-root-class %s > %t 2>&1 ; FileCheck --input-file=%t %s
> +// RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-objc-root-class %s 2>&1 | FileCheck %s
> // rdar://11761511
> 
> extern void doSomething();
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list