[Lldb-commits] [lldb] [lldb] Fix `po` alias by printing fix-its to the console. (PR #68452)
Dave Lee via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 6 15:04:29 PDT 2023
================
@@ -43,6 +43,10 @@ class CommandObjectDWIMPrint : public CommandObjectRaw {
HandleArgumentCompletion(CompletionRequest &request,
OptionElementVector &opt_element_vector) override;
+protected:
+ /// Stores the expression after applying any Fix-Its.
+ std::string m_fixed_expression;
----------------
kastiglione wrote:
It appears this doesn't need to be a member variable, that it can be a local variable in `CommandObjectDWIMPrint::DoExecute`.
https://github.com/llvm/llvm-project/pull/68452
More information about the lldb-commits
mailing list