Minor warning/error fixes.

llvm-svn: 105718
This commit is contained in:
Eli Friedman 2010-06-09 09:32:42 +00:00
parent a9de79c6ae
commit 48862d4571
3 changed files with 6 additions and 4 deletions

View File

@ -12,6 +12,7 @@
#include "lldb/Core/Stream.h"
#include "lldb/Symbol/CompileUnit.h"
#include "lldb/Symbol/LineTable.h"
#include <algorithm>
using namespace lldb;
using namespace lldb_private;
@ -133,13 +134,13 @@ LineTable::Entry::LessThanBinaryPredicate::operator() (const LineTable::Entry& a
LT_COMPARE (b.is_terminal_entry, a.is_terminal_entry);
LT_COMPARE (a.file_idx, b.file_idx);
return false;
#undef LT_COMPARE;
#undef LT_COMPARE
}
const Section *a_section = m_line_table->GetSectionForEntryIndex (a.sect_idx);
const Section *b_section = m_line_table->GetSectionForEntryIndex (b.sect_idx);
return Section::Compare(*a_section, *b_section) < 0;
};
}
Section *

View File

@ -17,7 +17,7 @@
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "ObjCObjectPrinter.h"
#include "lldb/Target/ObjCObjectPrinter.h"
using namespace lldb;
using namespace lldb_private;

View File

@ -13,7 +13,8 @@
#include "lldb/Core/Error.h"
#include "lldb/Core/Stream.h"
// Project includes
#include "PathMappingList.h"
#include "lldb/Target/PathMappingList.h"
#include <string.h>
using namespace lldb;
using namespace lldb_private;