clang-tools-extra/test/clang-rename/TemplateTypenameFindBy*.cpp: Move RUN: lines below not to be affected by tweaks of parameters.

llvm-svn: 277451
This commit is contained in:
NAKAMURA Takumi 2016-08-02 13:17:36 +00:00
parent 18bc3a002e
commit acf37a9234
2 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,3 @@
// RUN: cat %s > %t.cpp
// RUN: clang-rename -offset=147 -new-name=U %t.cpp -i --
// RUN: sed 's,//.*,,' %t.cpp | FileCheck %s
template <typename T> // CHECK: template <typename U>
class Foo {
T foo(T arg, T& ref, T* ptr) { // CHECK: U foo(U arg, U& ref, U* ptr) {
@ -16,3 +12,7 @@ static void foo(T value) {} // CHECK: static void foo(U value) {}
T member; // CHECK: U member;
};
// RUN: cat %s > %t.cpp
// RUN: clang-rename -offset=19 -new-name=U %t.cpp -i --
// RUN: sed 's,//.*,,' %t.cpp | FileCheck %s

View File

@ -1,7 +1,3 @@
// RUN: cat %s > %t.cpp
// RUN: clang-rename -offset=227 -new-name=U %t.cpp -i --
// RUN: sed 's,//.*,,' %t.cpp | FileCheck %s
template <typename T> // CHECK: template <typename U>
class Foo {
T foo(T arg, T& ref, T* ptr) { // CHECK: U foo(U arg, U& ref, U* ptr) {
@ -16,3 +12,7 @@ static void foo(T value) {} // CHECK: static void foo(U value) {}
T member; // CHECK: U member;
};
// RUN: cat %s > %t.cpp
// RUN: clang-rename -offset=99 -new-name=U %t.cpp -i --
// RUN: sed 's,//.*,,' %t.cpp | FileCheck %s