This is an archive of the discontinued LLVM Phabricator instance.

[MSVC] PR27337: allow static_cast from private base to derived for WTL
ClosedPublic

Authored by DmitryPolukhin on Apr 25 2016, 3:15 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

DmitryPolukhin retitled this revision from to [MSVC] PR27337: allow static_cast from private base to derived for WTL.
DmitryPolukhin updated this object.
DmitryPolukhin added a reviewer: rnk.
DmitryPolukhin added a subscriber: cfe-commits.
rnk accepted this revision.Apr 25 2016, 11:03 AM
rnk edited edge metadata.

lgtm

include/clang/Basic/DiagnosticSemaKinds.td
5768 ↗(On Diff #54829)

Maybe:

casting from %select{private|protected}2 base class %1 to derived class %0 is a Microsoft extension
This revision is now accepted and ready to land.Apr 25 2016, 11:03 AM
This revision was automatically updated to reflect the committed changes.

Thank you for the review!