diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2010-11-13 10:19:35 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2010-11-13 10:19:35 +0000 |
commit | f56017fd93236bfc34d3e5b5c31b8d40a5d75808 (patch) | |
tree | ee8c6f7a7b800a76701cb3956c7b30bb5d52da79 /test | |
parent | 2bb5d00fcf71a7b4d478d478be778fff0494aff6 (diff) |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/SemaTemplate/inject-templated-friend-post.cpp | 4 | ||||
-rw-r--r-- | test/SemaTemplate/inject-templated-friend.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
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 |