[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Refactor / LocalRename / Field.cpp
blobe674401b9653f9b61ee6a01ef7e421a7f4ceb02a
1 // RUN: clang-refactor local-rename -selection=test:%s -new-name=Bar %s -- | grep -v CHECK | FileCheck %s
3 class Baz {
4 int /*range=*/Foo;
5 // CHECK: int /*range=*/Bar;
6 public:
7 Baz();
8 };
10 Baz::Baz() : /*range=*/Foo(0) {}
11 // CHECK: Baz::Baz() : /*range=*/Bar(0) {}