r196730 - There's no such thing as %clang_cc1_only

Jordan Rose jordan_rose at apple.com
Mon Dec 9 09:26:54 PST 2013


Bah. Maybe we should change lit to substitute "%clang_cc1 " instead? I can't think of tests that need to just run clang -cc1 with no arguments.

On Dec 8, 2013, at 10:49 , Alp Toker <alp at nuanti.com> wrote:

> Author: alp
> Date: Sun Dec  8 12:49:11 2013
> New Revision: 196730
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=196730&view=rev
> Log:
> There's no such thing as %clang_cc1_only
> 
> These were being substituted into approximately the following:
> 
>  clang -cc1 -internal-isystem ../lib/clang/3.5/include_only
> 
> Modified:
>    cfe/trunk/test/Sema/decl-in-prototype.c
>    cfe/trunk/test/Sema/fn-ptr-as-fn-prototype.c
> 
> Modified: cfe/trunk/test/Sema/decl-in-prototype.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/decl-in-prototype.c?rev=196730&r1=196729&r2=196730&view=diff
> ==============================================================================
> --- cfe/trunk/test/Sema/decl-in-prototype.c (original)
> +++ cfe/trunk/test/Sema/decl-in-prototype.c Sun Dec  8 12:49:11 2013
> @@ -1,4 +1,4 @@
> -// RUN: %clang_cc1_only -verify %s
> +// RUN: %clang_cc1 -fsyntax-only -verify %s
> 
> const int AA = 5;
> 
> 
> Modified: cfe/trunk/test/Sema/fn-ptr-as-fn-prototype.c
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/fn-ptr-as-fn-prototype.c?rev=196730&r1=196729&r2=196730&view=diff
> ==============================================================================
> --- cfe/trunk/test/Sema/fn-ptr-as-fn-prototype.c (original)
> +++ cfe/trunk/test/Sema/fn-ptr-as-fn-prototype.c Sun Dec  8 12:49:11 2013
> @@ -1,4 +1,4 @@
> -// RUN: %clang_cc1_only -ast-print %s | FileCheck %s
> +// RUN: %clang_cc1 -ast-print %s | FileCheck %s
> 
> // This testcase checks the functionality of 
> // Sema::ActOn{Start,End}FunctionDeclarator, specifically checking that
> 
> 
> _______________________________________________
> 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