[Lldb-commits] [lldb] r150205 - in /lldb/trunk/test/lang/cpp/dynamic-value: TestCppValueCast.py sbvalue-cast.cpp
Johnny Chen
johnny.chen at apple.com
Thu Feb 9 12:29:11 PST 2012
Author: johnny
Date: Thu Feb 9 14:29:11 2012
New Revision: 150205
URL: http://llvm.org/viewvc/llvm-project?rev=150205&view=rev
Log:
Fix compile time warnings for the inferior program.
Modified:
lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py
lldb/trunk/test/lang/cpp/dynamic-value/sbvalue-cast.cpp
Modified: lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py?rev=150205&r1=150204&r2=150205&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py (original)
+++ lldb/trunk/test/lang/cpp/dynamic-value/TestCppValueCast.py Thu Feb 9 14:29:11 2012
@@ -54,7 +54,7 @@
self.source = 'sbvalue-cast.cpp';
self.line = line_number(self.source, '// Set breakpoint here.')
self.exe_name = self.testMethodName
- self.d_virtual = {'CXX_SOURCES': self.source, 'EXE': self.exe_name, 'CFLAGS_EXTRAS': '-DVIRTUAL=YES'}
+ self.d_virtual = {'CXX_SOURCES': self.source, 'EXE': self.exe_name, 'CFLAGS_EXTRAS': '-DDO_VIRTUAL_VIRTUAL'}
self.d_regular = {'CXX_SOURCES': self.source, 'EXE': self.exe_name}
def do_sbvalue_cast (self, exe_name):
Modified: lldb/trunk/test/lang/cpp/dynamic-value/sbvalue-cast.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/dynamic-value/sbvalue-cast.cpp?rev=150205&r1=150204&r2=150205&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/dynamic-value/sbvalue-cast.cpp (original)
+++ lldb/trunk/test/lang/cpp/dynamic-value/sbvalue-cast.cpp Thu Feb 9 14:29:11 2012
@@ -6,7 +6,7 @@
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
-#ifdef VIRTUAL
+#ifdef DO_VIRTUAL_INHERITANCE
#define VIRTUAL virtual
#else
#define VIRTUAL
More information about the lldb-commits
mailing list