FunctionWithClassFindByName.cpp 229 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 void foo() { } class Foo { // CHECK: class Bar }; int main() { Foo *Pointer = 0; // CHECK: Bar *Pointer = 0; return 0; } // RUN: clang-rename -qualified-name=Foo -new-name=Bar %s -- | sed 's,//.*,,' | FileCheck %s