eliminate some clang warnings.

llvm-svn: 113438
This commit is contained in:
Chris Lattner
2010-09-08 23:01:14 +00:00
parent c7fae585ca
commit 311adf3d5b
4 changed files with 4 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ public:
bool InvokeCallback (StoppointCallbackContext *context, lldb::user_id_t break_id, lldb::user_id_t break_loc_id);
bool IsCallbackSynchronous () {
return m_callback_is_synchronous;
};
}
Baton *GetBaton ();
const Baton *GetBaton () const;
void ClearCallback ();

View File

@@ -165,7 +165,7 @@ public:
// this class.
virtual const lldb::OptionDefinition*
GetDefinitions () { return NULL; };
GetDefinitions () { return NULL; }
virtual void
ResetOptionValues ();

View File

@@ -585,7 +585,7 @@ SBDebugger::GetInternalVariableValue (const char *var_name)
lldb::SettableVariableType var_type;
StringList value = root_settings_controller->GetVariable (var_name, var_type);
for (int i = 0; i < value.GetSize(); ++i)
for (unsigned i = 0; i != value.GetSize(); ++i)
ret_value.AppendString (value.GetStringAtIndex(i));
return ret_value;

View File

@@ -25,6 +25,7 @@
#include "lldb/Core/UUID.h"
#include "Host/macosx/cfcpp/CFCReleaser.h"
#include "mach/machine.h"
using namespace lldb;
using namespace lldb_private;