summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-rename/ClassNameInFunctionDefenition.cpp
blob: c0e5f073170fd07b9b2b65b85d8bf453b8d9d270 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Currently unsupported test.
// RUN: cat %s > %t.cpp
// FIXME: clang-rename doesn't recognize symbol in class function definition.

class Foo {
public:
  void foo(int x);
};

void Foo::foo(int x) {}
//   ^ this one

int main() {
  Foo obj;
  obj.foo(0);
  return 0;
}
OpenPOWER on IntegriCloud