llvm-for-llvmta/tools/clang/test/clang-rename/ClassFindByName.cpp

11 lines
226 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
class Foo { // CHECK: class Bar {
};
int main() {
Foo *Pointer = 0; // CHECK: Bar *Pointer = 0;
return 0;
}
// Test 1.
// RUN: clang-rename -qualified-name=Foo -new-name=Bar %s -- | sed 's,//.*,,' | FileCheck %s