]> granicus.if.org Git - clang/commitdiff
Move ClassReplacements.cpp test from clang-rename tests to the
authorAlex Lorenz <arphaman@gmail.com>
Fri, 30 Jun 2017 16:58:36 +0000 (16:58 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 30 Jun 2017 16:58:36 +0000 (16:58 +0000)
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 [deleted file]

diff --git a/test/clang-rename/ClassReplacements.cpp b/test/clang-rename/ClassReplacements.cpp
deleted file mode 100644 (file)
index 2b478bb..0000000
+++ /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' <file> to get the correct offset of Cla when changing
-// this file.