From: Chandler Carruth Date: Sat, 13 Nov 2010 10:19:35 +0000 (+0000) Subject: Switch to using %clang_cc1 properly rather than manually passing the -cc1 flag. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f56017fd93236bfc34d3e5b5c31b8d40a5d75808;p=clang Switch to using %clang_cc1 properly rather than manually passing the -cc1 flag. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118996 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaTemplate/inject-templated-friend-post.cpp b/test/SemaTemplate/inject-templated-friend-post.cpp index 98ac38edfa..39c445ca0f 100644 --- a/test/SemaTemplate/inject-templated-friend-post.cpp +++ b/test/SemaTemplate/inject-templated-friend-post.cpp @@ -2,8 +2,8 @@ // RUN: %clang %s -S -emit-llvm -o - -DPROTOTYPE | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE" // RUN: %clang %s -S -emit-llvm -o - -DINSTANTIATE | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE" // RUN: %clang %s -S -emit-llvm -o - -DPROTOTYPE -DINSTANTIATE | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE" -// RUN: %clang -cc1 %s -DREDEFINE -verify -// RUN: %clang -cc1 %s -DPROTOTYPE -DREDEFINE -verify +// RUN: %clang_cc1 %s -DREDEFINE -verify +// RUN: %clang_cc1 %s -DPROTOTYPE -DREDEFINE -verify // PR8007: friend function not instantiated, reordered version. // Corresponds to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38392 diff --git a/test/SemaTemplate/inject-templated-friend.cpp b/test/SemaTemplate/inject-templated-friend.cpp index fbe86d9638..7be613b6d3 100644 --- a/test/SemaTemplate/inject-templated-friend.cpp +++ b/test/SemaTemplate/inject-templated-friend.cpp @@ -1,5 +1,5 @@ // RUN: %clang %s -S -emit-llvm -o - | grep -e "define linkonce_odr.*_ZlsR11std_ostreamRK8StreamerI3FooE" -// RUN: %clang -cc1 %s -DREDEFINE -verify +// RUN: %clang_cc1 %s -DREDEFINE -verify // PR8007: friend function not instantiated. struct std_ostream