[clang-tools-extra] r272381 - clang-rename: fix the DynamicCastExpr test on ps4

Miklos Vajna via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 10 01:29:02 PDT 2016


Author: vmiklos
Date: Fri Jun 10 03:29:02 2016
New Revision: 272381

URL: http://llvm.org/viewvc/llvm-project?rev=272381&view=rev
Log:
clang-rename: fix the DynamicCastExpr test on ps4

It has RTTI disabled by default, so need to enable it explicitly.

Reviewers: silvas

Differential Revision: http://reviews.llvm.org/D21186

Modified:
    clang-tools-extra/trunk/test/clang-rename/DynamicCastExpr.cpp

Modified: clang-tools-extra/trunk/test/clang-rename/DynamicCastExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-rename/DynamicCastExpr.cpp?rev=272381&r1=272380&r2=272381&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-rename/DynamicCastExpr.cpp (original)
+++ clang-tools-extra/trunk/test/clang-rename/DynamicCastExpr.cpp Fri Jun 10 03:29:02 2016
@@ -1,5 +1,5 @@
 // RUN: cat %s > %t.cpp
-// RUN: clang-rename -offset=186 -new-name=X %t.cpp -i --
+// RUN: clang-rename -offset=193 -new-name=X %t.cpp -i -- -frtti
 // RUN: sed 's,//.*,,' %t.cpp | FileCheck %s
 class Base {
   virtual int getValue() const = 0;




More information about the cfe-commits mailing list