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

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 25 11:03:24 PDT 2016


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm


================
Comment at: include/clang/Basic/DiagnosticSemaKinds.td:5768
@@ +5767,3 @@
+def ext_ms_downcast_from_inaccessible_base : ExtWarn<
+  "cast %select{private|protected}2 base class %1 to %0 is a Microsoft extension">,
+  InGroup<MicrosoftCast>;
----------------
Maybe:
  casting from %select{private|protected}2 base class %1 to derived class %0 is a Microsoft extension


http://reviews.llvm.org/D19477





More information about the cfe-commits mailing list