From aaec9b6cfce2e492cac2fd79687f0fab9bd8a9af Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 2 Aug 2016 09:51:31 +0000 Subject: clang-rename: split existing options into two new subcommands - rename-at is meant to be integrated with editors and works mainly off of a location in a file, and this is the default - rename-all is optimized for one or more oldname->newname renames, and works with clang-apply-replacements Reviewers: bkramer, klimek Subscribers: omtcyfz Differential Revision: https://reviews.llvm.org/D21814 llvm-svn: 277438 --- clang-tools-extra/test/clang-rename/FunctionWithClassFindByName.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang-tools-extra/test/clang-rename/FunctionWithClassFindByName.cpp') diff --git a/clang-tools-extra/test/clang-rename/FunctionWithClassFindByName.cpp b/clang-tools-extra/test/clang-rename/FunctionWithClassFindByName.cpp index 7d1f85653d2..6546f7959ae 100644 --- a/clang-tools-extra/test/clang-rename/FunctionWithClassFindByName.cpp +++ b/clang-tools-extra/test/clang-rename/FunctionWithClassFindByName.cpp @@ -1,5 +1,5 @@ // RUN: cat %s > %t.cpp -// RUN: clang-rename -old-name=Foo -new-name=Bar %t.cpp -i -- +// RUN: clang-rename rename-all -old-name=Foo -new-name=Bar %t.cpp -i -- // RUN: sed 's,//.*,,' %t.cpp | FileCheck %s void foo() { -- cgit v1.2.3