// RUN: cat %s > %t.cpp // RUN: clang-rename -offset=154 -new-name=bar %t.cpp -i -- // RUN: sed 's,//.*,,' %t.cpp | FileCheck %s template T foo(T value) { // CHECK: T bar(T value) { return value; } int main() { foo(false); // CHECK: bar(false); foo(0); // CHECK: bar(0); return 0; } // Use grep -FUbo 'foo' to get the correct offset of foo when changing // this file.