diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2012-02-09 20:29:11 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2012-02-09 20:29:11 +0000 |
| commit | f4a75d880d4b3be92fd17694726fd6b1c93d9bf3 (patch) | |
| tree | 689dd280c6c671240b2b0e4fbb38557116d11044 | |
| parent | 25b0742603808470660680f1d87c066ea1e5b59c (diff) | |
| download | bcm5719-llvm-f4a75d880d4b3be92fd17694726fd6b1c93d9bf3.tar.gz bcm5719-llvm-f4a75d880d4b3be92fd17694726fd6b1c93d9bf3.zip | |
Fix compile time warnings for the inferior program.
llvm-svn: 150205
| -rw-r--r-- | lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py | 2 | ||||
| -rw-r--r-- | lldb/test/lang/cpp/dynamic-value/sbvalue-cast.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py b/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py index 8d229b3b378..83271e2a00f 100644 --- a/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py +++ b/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py @@ -54,7 +54,7 @@ class CppValueCastTestCase(TestBase): 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): diff --git a/lldb/test/lang/cpp/dynamic-value/sbvalue-cast.cpp b/lldb/test/lang/cpp/dynamic-value/sbvalue-cast.cpp index 889486a42a0..c3d5d7f4d7b 100644 --- a/lldb/test/lang/cpp/dynamic-value/sbvalue-cast.cpp +++ b/lldb/test/lang/cpp/dynamic-value/sbvalue-cast.cpp @@ -6,7 +6,7 @@ // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -#ifdef VIRTUAL +#ifdef DO_VIRTUAL_INHERITANCE #define VIRTUAL virtual #else #define VIRTUAL |

