aelitashen updated this revision to Diff 275192.
aelitashen added a comment.

Remove comment line in request_getCompileUnits


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83072

Files:
  lldb/tools/lldb-vscode/lldb-vscode.cpp


Index: lldb/tools/lldb-vscode/lldb-vscode.cpp
===================================================================
--- lldb/tools/lldb-vscode/lldb-vscode.cpp
+++ lldb/tools/lldb-vscode/lldb-vscode.cpp
@@ -1186,10 +1186,7 @@
       int num_units = curr_module.GetNumCompileUnits();
       for (int j = 0; j < num_units; j++) {
         auto curr_unit = curr_module.GetCompileUnitAtIndex(j);
-        // auto unit_file_spec = curr_unit.GetFileSpec();
-        // std::string unit_path = std::string(unit_file_spec.GetDirectory());
         units.emplace_back(CreateCompileUnit(curr_unit));
-        // body.try_emplace(unit_file_spec.GetFilename(), unit_path);
       }
       body.try_emplace("compileUnits", std::move(units));
       break;


Index: lldb/tools/lldb-vscode/lldb-vscode.cpp
===================================================================
--- lldb/tools/lldb-vscode/lldb-vscode.cpp
+++ lldb/tools/lldb-vscode/lldb-vscode.cpp
@@ -1186,10 +1186,7 @@
       int num_units = curr_module.GetNumCompileUnits();
       for (int j = 0; j < num_units; j++) {
         auto curr_unit = curr_module.GetCompileUnitAtIndex(j);
-        // auto unit_file_spec = curr_unit.GetFileSpec();
-        // std::string unit_path = std::string(unit_file_spec.GetDirectory());
         units.emplace_back(CreateCompileUnit(curr_unit));
-        // body.try_emplace(unit_file_spec.GetFilename(), unit_path);
       }
       body.try_emplace("compileUnits", std::move(units));
       break;
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to