[Lldb-commits] [PATCH] D76968: [lldb-vscode] Correctly return source mapped breakpoints for setBreakpoints request

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 31 19:18:49 PDT 2020


clayborg accepted this revision.
clayborg added a comment.
This revision is now accepted and ready to land.

Just use "llvm::None" instead of "{}" and this is good to go.



================
Comment at: lldb/tools/lldb-vscode/JSONUtils.h:237
+CreateBreakpoint(lldb::SBBreakpoint &bp,
+                 llvm::Optional<llvm::StringRef> request_path = {},
+                 llvm::Optional<uint32_t> request_line = {});
----------------
lets use "llvm::None" here instead of "{}" for clarity


================
Comment at: lldb/tools/lldb-vscode/JSONUtils.h:238
+                 llvm::Optional<llvm::StringRef> request_path = {},
+                 llvm::Optional<uint32_t> request_line = {});
 
----------------
ditto


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76968/new/

https://reviews.llvm.org/D76968





More information about the lldb-commits mailing list