[libcxxabi] r187429 - tip-of-trunk clang has corrected some access checks for special members in a virtual inheritance hierarchy. Change a few private inheritances to protected. This change will not impact what the test was testing. This fixes http://llvm.org/bugs/show_bug.cgi?id=16753.

Howard Hinnant hhinnant at apple.com
Tue Jul 30 12:00:46 PDT 2013


Author: hhinnant
Date: Tue Jul 30 14:00:45 2013
New Revision: 187429

URL: http://llvm.org/viewvc/llvm-project?rev=187429&view=rev
Log:
tip-of-trunk clang has corrected some access checks for special members in a virtual inheritance hierarchy.  Change a few private inheritances to protected.  This change will not impact what the test was testing.  This fixes http://llvm.org/bugs/show_bug.cgi?id=16753.

Modified:
    libcxxabi/trunk/test/dynamic_cast3.cpp

Modified: libcxxabi/trunk/test/dynamic_cast3.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/dynamic_cast3.cpp?rev=187429&r1=187428&r2=187429&view=diff
==============================================================================
--- libcxxabi/trunk/test/dynamic_cast3.cpp (original)
+++ libcxxabi/trunk/test/dynamic_cast3.cpp Tue Jul 30 14:00:45 2013
@@ -1041,7 +1041,7 @@ struct A1
 };
 
 struct A2
-    : private virtual A1
+    : protected virtual A1
 {
     char _[34981];
     virtual ~A2() {}
@@ -1216,7 +1216,7 @@ struct A1
 };
 
 struct A2
-    : private virtual A1
+    : protected virtual A1
 {
     char _[34981];
     virtual ~A2() {}
@@ -1330,7 +1330,7 @@ struct A1
 };
 
 struct A2
-    : private virtual A1
+    : protected virtual A1
 {
     char _[34981];
     virtual ~A2() {}
@@ -1387,7 +1387,7 @@ struct A1
 };
 
 struct A2
-    : private virtual A1
+    : protected virtual A1
 {
     char _[34981];
     virtual ~A2() {}





More information about the cfe-commits mailing list