diff options
Diffstat (limited to 'clang-tools-extra/test/clang-rename/ConstCastExpr.cpp')
| -rw-r--r-- | clang-tools-extra/test/clang-rename/ConstCastExpr.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/clang-tools-extra/test/clang-rename/ConstCastExpr.cpp b/clang-tools-extra/test/clang-rename/ConstCastExpr.cpp index 6d6914fad1d..7336a1621d9 100644 --- a/clang-tools-extra/test/clang-rename/ConstCastExpr.cpp +++ b/clang-tools-extra/test/clang-rename/ConstCastExpr.cpp @@ -1,6 +1,4 @@ -// RUN: cat %s > %t.cpp -// RUN: clang-rename -offset=136 -new-name=Bar %t.cpp -i -- -// RUN: sed 's,//.*,,' %t.cpp | FileCheck %s +// RUN: clang-rename -offset=74 -new-name=Bar %s -- | FileCheck %s class Foo { // CHECK: class Bar { public: @@ -14,5 +12,5 @@ int main() { const_cast<Foo *>(C)->getValue(); // CHECK: const_cast<Bar *>(C)->getValue(); } -// Use grep -FUbo 'Cla' <file> to get the correct offset of foo when changing +// Use grep -FUbo 'Foo' <file> to get the correct offset of Foo when changing // this file. |

