[Lldb-commits] [lldb] r132308 - /lldb/trunk/test/class_types/main.cpp

Greg Clayton gclayton at apple.com
Sun May 29 18:18:46 PDT 2011


Author: gclayton
Date: Sun May 29 20:18:45 2011
New Revision: 132308

URL: http://llvm.org/viewvc/llvm-project?rev=132308&view=rev
Log:
Revert previous changes.


Modified:
    lldb/trunk/test/class_types/main.cpp

Modified: lldb/trunk/test/class_types/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/class_types/main.cpp?rev=132308&r1=132307&r2=132308&view=diff
==============================================================================
--- lldb/trunk/test/class_types/main.cpp (original)
+++ lldb/trunk/test/class_types/main.cpp Sun May 29 20:18:45 2011
@@ -32,7 +32,7 @@
     {
     }
 
-    virtual
+    //virtual
     ~A()
     {
     }
@@ -62,7 +62,7 @@
     {
     }
 
-    virtual
+    //virtual
     ~B()
     {
     }
@@ -93,7 +93,7 @@
         printf("Within C::ctor() m_c_int=%d\n", m_c_int); // Set break point at this line.
     }
 
-    virtual
+    //virtual
     ~C()
     {
     }
@@ -119,14 +119,6 @@
     A a(12);
     B b(22,33);
     C c(44,55,66);
-    A *c_as_a = &c;
-    B *c_as_b = &c;
-    void *a_as_void_ptr = &a;
-    void *b_as_void_ptr = &b;
-    void *c_as_void_ptr = &c;
-    const void *a_as_const_void_ptr = &a;
-    const void *b_as_const_void_ptr = &b;
-    const void *c_as_const_void_ptr = &c;
     Conversion conv(1);
     if (conv)
         return b.GetIntegerB() - a.GetInteger() + c.GetInteger();





More information about the lldb-commits mailing list