summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/Breakpoint/BreakpointOptions.h2
-rw-r--r--lldb/include/lldb/Interpreter/Options.h2
-rw-r--r--lldb/source/API/SBDebugger.cpp2
-rw-r--r--lldb/source/Host/macosx/Symbols.cpp1
4 files changed, 4 insertions, 3 deletions
diff --git a/lldb/include/lldb/Breakpoint/BreakpointOptions.h b/lldb/include/lldb/Breakpoint/BreakpointOptions.h
index a223f4bc382..5e8157a5517 100644
--- a/lldb/include/lldb/Breakpoint/BreakpointOptions.h
+++ b/lldb/include/lldb/Breakpoint/BreakpointOptions.h
@@ -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 ();
diff --git a/lldb/include/lldb/Interpreter/Options.h b/lldb/include/lldb/Interpreter/Options.h
index b11ad23b712..b243c13005a 100644
--- a/lldb/include/lldb/Interpreter/Options.h
+++ b/lldb/include/lldb/Interpreter/Options.h
@@ -165,7 +165,7 @@ public:
// this class.
virtual const lldb::OptionDefinition*
- GetDefinitions () { return NULL; };
+ GetDefinitions () { return NULL; }
virtual void
ResetOptionValues ();
diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp
index 7af39038c9b..d83c65cdbe9 100644
--- a/lldb/source/API/SBDebugger.cpp
+++ b/lldb/source/API/SBDebugger.cpp
@@ -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;
diff --git a/lldb/source/Host/macosx/Symbols.cpp b/lldb/source/Host/macosx/Symbols.cpp
index 3502ff5d2b0..13c2c2d0b53 100644
--- a/lldb/source/Host/macosx/Symbols.cpp
+++ b/lldb/source/Host/macosx/Symbols.cpp
@@ -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;
OpenPOWER on IntegriCloud