forked from OSchip/llvm-project
Fix compile time warnings for the inferior program.
llvm-svn: 150205
This commit is contained in:
parent
25b0742603
commit
f4a75d880d
|
@ -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):
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#ifdef VIRTUAL
|
||||
#ifdef DO_VIRTUAL_INHERITANCE
|
||||
#define VIRTUAL virtual
|
||||
#else
|
||||
#define VIRTUAL
|
||||
|
|
Loading…
Reference in New Issue