File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1010#define LLDB_API_SBFILESPEC_H
1111
1212#include " lldb/API/SBDefines.h"
13- #include " lldb/API/SBStream.h"
1413
1514namespace lldb {
1615
Original file line number Diff line number Diff line change 1919
2020#include < cinttypes>
2121#include < climits>
22- #include < string>
2322
2423using namespace lldb ;
2524using namespace lldb_private ;
Original file line number Diff line number Diff line change @@ -1626,16 +1626,16 @@ std::vector<protocol::Breakpoint> DAP::SetSourceBreakpoints(
16261626 std::vector<protocol::Breakpoint> response_breakpoints;
16271627 if (source.sourceReference ) {
16281628 // breakpoint set by assembly source.
1629- auto &existing_breakpoints_pos =
1629+ auto &existing_breakpoints =
16301630 m_source_assembly_breakpoints[*source.sourceReference ];
16311631 response_breakpoints =
1632- SetSourceBreakpoints (source, breakpoints, existing_breakpoints_pos );
1632+ SetSourceBreakpoints (source, breakpoints, existing_breakpoints );
16331633 } else {
16341634 // breakpoint set by a regular source file.
16351635 const auto path = source.path .value_or (" " );
1636- auto &existing_breakpoints_pos = m_source_breakpoints[path];
1636+ auto &existing_breakpoints = m_source_breakpoints[path];
16371637 response_breakpoints =
1638- SetSourceBreakpoints (source, breakpoints, existing_breakpoints_pos );
1638+ SetSourceBreakpoints (source, breakpoints, existing_breakpoints );
16391639 }
16401640
16411641 return response_breakpoints;
You can’t perform that action at this time.
0 commit comments