Skip to content

Commit 9dbca55

Browse files
committed
restore SBFileSpec changes
1 parent 0515c6d commit 9dbca55

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

lldb/include/lldb/API/SBFileSpec.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#define LLDB_API_SBFILESPEC_H
1111

1212
#include "lldb/API/SBDefines.h"
13-
#include "lldb/API/SBStream.h"
1413

1514
namespace lldb {
1615

lldb/source/API/SBFileSpec.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
#include <cinttypes>
2121
#include <climits>
22-
#include <string>
2322

2423
using namespace lldb;
2524
using namespace lldb_private;

lldb/tools/lldb-dap/DAP.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)