Skip to content

Commit 01965b3

Browse files
Apply suggestions from code review
Co-authored-by: Jonas Devlieghere <[email protected]>
1 parent 088a1dd commit 01965b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/tools/lldb-dap/Protocol/DAPTypes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ struct Symbol {
6666
lldb::SymbolType type = lldb::eSymbolTypeInvalid;
6767

6868
/// The symbol file address.
69-
lldb::addr_t fileAddress = 0;
69+
lldb::addr_t fileAddress = LLDB_INVALID_ADDRESS;
7070

7171
/// The symbol load address.
72-
std::optional<lldb::addr_t> loadAddress = std::nullopt;
72+
std::optional<lldb::addr_t> loadAddress;
7373

7474
/// The symbol size.
7575
lldb::addr_t size = 0;

0 commit comments

Comments
 (0)