[all-commits] [llvm/llvm-project] de019b: [lldb/Interpreter] Support color in CommandReturnO...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Jun 9 10:46:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: de019b88dd5804ec996fe8c12cddcc6feb13afa1
      https://github.com/llvm/llvm-project/commit/de019b88dd5804ec996fe8c12cddcc6feb13afa1
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-06-09 (Tue, 09 Jun 2020)

  Changed paths:
    M lldb/include/lldb/Interpreter/CommandReturnObject.h
    M lldb/include/lldb/Utility/Stream.h
    M lldb/include/lldb/Utility/StreamTee.h
    M lldb/source/API/SBCommandReturnObject.cpp
    M lldb/source/Breakpoint/BreakpointOptions.cpp
    M lldb/source/Commands/CommandObjectExpression.cpp
    M lldb/source/Commands/CommandObjectWatchpointCommand.cpp
    M lldb/source/Expression/REPL.cpp
    M lldb/source/Interpreter/CommandAlias.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Interpreter/CommandObject.cpp
    M lldb/source/Interpreter/CommandReturnObject.cpp
    M lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
    M lldb/source/Target/Target.cpp
    M lldb/source/Utility/Stream.cpp
    M lldb/test/Shell/Driver/TestNoUseColor.test
    A lldb/test/Shell/Driver/TestUseColor.test
    M lldb/tools/lldb-test/lldb-test.cpp
    M lldb/unittests/ScriptInterpreter/Lua/ScriptInterpreterTests.cpp

  Log Message:
  -----------
  [lldb/Interpreter] Support color in CommandReturnObject

Color the error: and warning: part of the CommandReturnObject output,
similar to how an error is printed from the driver when colors are
enabled.

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




More information about the All-commits mailing list