Haojian Wu | 5518678 | 2017-10-20 12:37:16 +0000 | [diff] [blame] | 1 | // RUN: sed -e 's#//.*$##' %s > %t.cpp |
| 2 | // RUN: clang-refactor local-rename -selection=%t.cpp:7:7 -new-name=test %t.cpp -- | FileCheck %s |
| 3 | // RUN: clang-refactor local-rename -selection=%t.cpp:7:7-7:15 -new-name=test %t.cpp -- | FileCheck %s |
| 4 | // RUN: clang-refactor local-rename -i -selection=%t.cpp:7:7 -new-name=test %t.cpp -- |
| 5 | // RUN: FileCheck -input-file=%t.cpp %s |
Alex Lorenz | e1b7b95 | 2017-10-16 17:31:16 +0000 | [diff] [blame] | 6 | |
| 7 | class RenameMe { |
| 8 | // CHECK: class test { |
| 9 | }; |