This is an archive of the discontinued LLVM Phabricator instance.

Fix PR41843 - std::is_base_of should give correct result for incomplete unions
ClosedPublic

Authored by mclow.lists on May 13 2019, 12:49 PM.

Details

Reviewers
EricWF
ldionne
Summary

This relies on a fix that was recently checked into clang.

My plan is to land this in a week or so, once the bots that are running LLVM trunk have been updated.

Diff Detail

Event Timeline

mclow.lists created this revision.May 13 2019, 12:49 PM

an alternate approach would be to add an entirely new test, and XFAIL it for the compilers in question.

ldionne accepted this revision.May 13 2019, 1:18 PM
This revision is now accepted and ready to land.May 13 2019, 1:18 PM

an alternate approach would be to add an entirely new test, and XFAIL it for the compilers in question.

I have a slight preference for an XFAILed test, but you can do whatever. Thanks for adding a test.

an alternate approach would be to add an entirely new test, and XFAIL it for the compilers in question.

I have a slight preference for an XFAILed test, but you can do whatever. Thanks for adding a test.

I will do that; but I won't put it up here for review; I'll just commit it.
Leaving this open so that I can record when the test is landed.

mclow.lists closed this revision.Jun 13 2019, 7:56 AM

This has been committed; it broke the bots using "apple-clang-9.1", which I didn't even know existed.