[Lldb-commits] [PATCH] D79209: [lldb/CommandInterpreter] Add CommandInterpreterRunResult (NFC)

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 30 15:06:41 PDT 2020


JDevlieghere created this revision.
JDevlieghere added reviewers: clayborg, labath.
JDevlieghere edited the summary of this revision.

This patch adds a new class `CommandInterpreterRunResult` which will be backing the `SBCommandInterpreterRunResult`. It keeps track of the number of errors as well as the result which is an enum, as proposed by Pavel in D79120 <https://reviews.llvm.org/D79120>. The command interpreter now populates the results directly, instead of its own member variables.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D79209

Files:
  lldb/include/lldb/Interpreter/CommandInterpreter.h
  lldb/include/lldb/lldb-enumerations.h
  lldb/source/API/SBDebugger.cpp
  lldb/source/Interpreter/CommandInterpreter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79209.261361.patch
Type: text/x-patch
Size: 6160 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200430/640c3dac/attachment.bin>


More information about the lldb-commits mailing list