Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work around dynamic_cast bug in clang #263

Merged
merged 2 commits into from
Feb 1, 2017
Merged

Conversation

ChrisDodd
Copy link
Contributor

Ran into this one trying to fix another bug. Visitor is the common (dynamic, virtual) base class of ControlFlowVisitor and Inspector, so this static_cast should be an unnecessary noop, but clang seems to have a bug in its complex inheritance handling.

Copy link
Contributor

@sethfowler sethfowler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, this seems like a bug.

@sethfowler
Copy link
Contributor

@ChrisDodd this is ready to go, but you'll need to rebase it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants