reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
// RUN: clang-refactor local-rename -selection=test:%s -new-name=Bar %s -- | grep -v CHECK | FileCheck %s

class Baz {
  int /*range=*/Foo;
  // CHECK: int /*range=*/Bar;
public:
  Baz();
};

Baz::Baz() : /*range=*/Foo(0) {}
// CHECK: Baz::Baz() : /*range=*/Bar(0) {}