I enabled some extra warnings for hidden local variables and for hidden
virtual functions and caught some things and did some general code cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@108299 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectBreakpointCommand.cpp b/source/Commands/CommandObjectBreakpointCommand.cpp
index 123a5ad..a1b973b 100644
--- a/source/Commands/CommandObjectBreakpointCommand.cpp
+++ b/source/Commands/CommandObjectBreakpointCommand.cpp
@@ -258,12 +258,15 @@
{
if (m_options.m_use_script_language)
{
- interpreter.GetScriptInterpreter()->CollectDataForBreakpointCommandCallback (bp_loc_sp->GetLocationOptions(),
- result);
+ interpreter.GetScriptInterpreter()->CollectDataForBreakpointCommandCallback (interpreter,
+ bp_loc_sp->GetLocationOptions(),
+ result);
}
else
{
- CollectDataForBreakpointCommandCallback (interpreter, bp_loc_sp->GetLocationOptions(), result);
+ CollectDataForBreakpointCommandCallback (interpreter,
+ bp_loc_sp->GetLocationOptions(),
+ result);
}
}
}
@@ -271,12 +274,15 @@
{
if (m_options.m_use_script_language)
{
- interpreter.GetScriptInterpreter()->CollectDataForBreakpointCommandCallback (bp->GetOptions(),
- result);
+ interpreter.GetScriptInterpreter()->CollectDataForBreakpointCommandCallback (interpreter,
+ bp->GetOptions(),
+ result);
}
else
{
- CollectDataForBreakpointCommandCallback (interpreter, bp->GetOptions(), result);
+ CollectDataForBreakpointCommandCallback (interpreter,
+ bp->GetOptions(),
+ result);
}
}
}