[Lldb-commits] [lldb] [lldb] Fix `po` alias by printing fix-its to the console. (PR #68452)

Pete Lawrence via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 6 15:41:47 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;
----------------
PortalPete wrote:

Sure thing.

I was wondering what that would be better between using a local versus being consistent with `CommandObjectExpression` class.

https://github.com/llvm/llvm-project/pull/68452


More information about the lldb-commits mailing list