forked from OSchip/llvm-project
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:
parent
18bc3a002e
commit
acf37a9234
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue