llvm-project/clang/test/clang-rename/ForwardClassDecl.cpp

5 lines
148 B
C++

class Foo; // CHECK: class Bar;
Foo *f(); // CHECK: Bar *f();
// RUN: clang-rename -offset=6 -new-name=Bar %s -- | sed 's,//.*,,' | FileCheck %s