Refactor to do the same as what is done already for static_cast.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hmm, http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/14332/steps/test/logs/stdio fails with "error: cannot use dynamic_cast with -fno-rtti"; is there some way to detect if "-fno-rtti" is the default, and in that case don't execute the test? Thanks.