Page MenuHomePhabricator

[lldb/CommandInterpreter] Add CommandInterpreterRunResult (NFC)
ClosedPublic

Authored by JDevlieghere on Apr 30 2020, 2:48 PM.

Details

Summary

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. The command interpreter now populates the results directly, instead of its own member variables.

Diff Detail

Event Timeline

JDevlieghere created this revision.Apr 30 2020, 2:48 PM
JDevlieghere edited the summary of this revision. (Show Details)
clayborg accepted this revision.Apr 30 2020, 6:28 PM
clayborg added inline comments.
lldb/include/lldb/lldb-enumerations.h
1084

Add some header doc for these to explain a bit maybe since this is a public header file?

This revision is now accepted and ready to land.Apr 30 2020, 6:28 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 1 2020, 5:27 PM