clayborg added inline comments.

================
Comment at: lldb/include/lldb/Target/StackFrame.h:264
   ///     A pointer to a list of variables.
-  VariableList *GetVariableList(bool get_file_globals);
+  VariableList *GetVariableList(bool get_file_globals, Status *error_ptr);
 
----------------
There are many places that call this function that also don't need to check the 
error and if we use a Expected<VariableList*>, we need to add a bunch of 
consumeError(...) code. See all of the call sites where I added a "nullptr" for 
the "error_ptr" to see why I chose to do it this way to keep the code cleaner. 
Many places are getting the variable list to look for things or use them for 
autocomplete.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133164

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to