[PATCH] D21186: clang-rename: mark the DynamicCastExpr test unsupported on ps4

Sean Silva via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 10 01:08:42 PDT 2016


silvas added a comment.

In http://reviews.llvm.org/D21186#454497, @silvas wrote:

> > It has no RTTI, so the test would always fail in a non-interesting way.
>
>
> It does. There is a call to dynamic_cast on lines 20 and 21 of this test. You can fix this by explicitly adding -frtti I believe.


Sorry, that was a bit unclear (I thought you meant "it" meaning "this test"). On PS4 RTTI is disabled by default, but -frtti turns it on, so you should be able to add -frtti to this test to fix it.


http://reviews.llvm.org/D21186





More information about the cfe-commits mailing list