mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
eliminate some clang warnings.
llvm-svn: 113438
This commit is contained in:
@@ -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 ();
|
||||
|
||||
@@ -165,7 +165,7 @@ public:
|
||||
// this class.
|
||||
|
||||
virtual const lldb::OptionDefinition*
|
||||
GetDefinitions () { return NULL; };
|
||||
GetDefinitions () { return NULL; }
|
||||
|
||||
virtual void
|
||||
ResetOptionValues ();
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user