| 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 |
| 6 | |
| 7 | class RenameMe { |
| 8 | // CHECK: class test { |
| 9 | }; |
| 10 |