1 // RUN: clang-refactor local-rename -selection=test:%s -new-name=Bar %s -- | grep -v CHECK | FileCheck %s
2
3 class Baz {
4 int /*range=*/Foo;
5 // CHECK: int /*range=*/Bar;
6 public:
7 Baz();
8 };
9
Baz()10 Baz::Baz() : /*range=*/Foo(0) {}
11 // CHECK: Baz::Baz() : /*range=*/Bar(0) {}
12