[all-commits] [llvm/llvm-project] 1bff09: [lldb/CommandInterpreter] Add CommandInterpreterRu...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri May 1 11:29:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bff0928f52b3d6602bae085c9590a1d807c2910
      https://github.com/llvm/llvm-project/commit/1bff0928f52b3d6602bae085c9590a1d807c2910
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-05-01 (Fri, 01 May 2020)

  Changed paths:
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/source/API/SBDebugger.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp

  Log Message:
  -----------
  [lldb/CommandInterpreter] Add CommandInterpreterRunResult (NFC)

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.

Differential revision: https://reviews.llvm.org/D79209




More information about the All-commits mailing list