blob: 087cb81cff51de1fc80c7252ab565ad89619eaf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// RUN: clang-rename -offset=102 -new-name=Bar %s -- | FileCheck %s
class Baz {};
class Qux {
Baz Foo; // CHECK: Baz Bar;
public:
Qux();
};
Qux::Qux() : Foo() {} // CHECK: Qux::Qux() : Bar() {}
// Use grep -FUbo 'Foo' <file> to get the correct offset of foo when changing
// this file.
|