Skip to content

Commit

Permalink
clang-rename: fix the DynamicCastExpr test on ps4
Browse files Browse the repository at this point in the history
It has RTTI disabled by default, so need to enable it explicitly.

Reviewers: silvas

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

llvm-svn: 272381
  • Loading branch information
vmiklos committed Jun 10, 2016
1 parent 1efc17e commit e9c7565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang-tools-extra/test/clang-rename/DynamicCastExpr.cpp
@@ -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;
Expand Down

0 comments on commit e9c7565

Please sign in to comment.