1 | // RUN: rm -rf %t |
---|---|
2 | // RUN: mkdir -p %t/fixes |
3 | // RUN: cat %s > %t.cpp |
4 | // RUN: clang-rename -offset=254 -new-name=Bar -export-fixes=%t/fixes/clang-rename.yaml %t.cpp -- |
5 | // RUN: clang-apply-replacements %t |
6 | // RUN: sed 's,//.*,,' %t.cpp | FileCheck %s |
7 | |
8 | class Foo {}; // CHECK: class Bar {}; |
9 | |
10 | // Use grep -FUbo 'Foo' <file> to get the correct offset of Cla when changing |
11 | // this file. |
12 |