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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
240 B
C++
Raw Normal View History

class Foo { // CHECK: class Bar {
public:
template <typename T>
Foo(); // CHECK: Bar();
template <typename T>
Foo(Foo &); // CHECK: Bar(Bar &);
};
// RUN: clang-rename -offset=6 -new-name=Bar %s -- | sed 's,//.*,,' | FileCheck %s