4 Baz Foo
; /* Test 1 */ // CHECK: Baz Bar;
9 Qux::Qux() : Foo() /* Test 2 */ {} // CHECK: Qux::Qux() : Bar() /* Test 2 */ {}
12 // RUN: clang-rename -offset=33 -new-name=Bar %s -- | sed 's,//.*,,' | FileCheck %s
14 // RUN: clang-rename -offset=118 -new-name=Bar %s -- | sed 's,//.*,,' | FileCheck %s
16 // To find offsets after modifying the file, use:
17 // grep -Ubo 'Foo.*' <file>