From 4c75105321fb6af6242d84703a29d3402fe2c625 Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Fri, 30 Jun 2017 16:58:36 +0000 Subject: [PATCH] Move ClassReplacements.cpp test from clang-rename tests to the clang-apply-replacements tests The ClassReplacements.cpp test in the clang-rename tests uses clang-apply-replacements. I moved it back to the clang-tools-extra repository for now to ensure that the clang-rename tests can pass when clang is compiled without clang-tools-extra. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306843 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/clang-rename/ClassReplacements.cpp | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 test/clang-rename/ClassReplacements.cpp diff --git a/test/clang-rename/ClassReplacements.cpp b/test/clang-rename/ClassReplacements.cpp deleted file mode 100644 index 2b478bbf90..0000000000 --- a/test/clang-rename/ClassReplacements.cpp +++ /dev/null @@ -1,11 +0,0 @@ -// RUN: rm -rf %t -// RUN: mkdir -p %t/fixes -// RUN: cat %s > %t.cpp -// RUN: clang-rename -offset=254 -new-name=Bar -export-fixes=%t/fixes/clang-rename.yaml %t.cpp -- -// RUN: clang-apply-replacements %t -// RUN: sed 's,//.*,,' %t.cpp | FileCheck %s - -class Foo {}; // CHECK: class Bar {}; - -// Use grep -FUbo 'Foo' to get the correct offset of Cla when changing -// this file. -- 2.50.1