From 59998b7b7f12c867062a4b61579511ad6c0ca144 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 10 Dec 2019 08:54:30 -0800 Subject: [lldb/Host] Use Host/Config.h entries instead of a global define. As suggested by Pavel in a code review: > Can we replace this (and maybe python too, while at it) with a > Host/Config.h entry? A global definition means that one has to > recompile everything when these change in any way, whereas in > practice only a handful of files need this.. Differential revision: https://reviews.llvm.org/D71280 --- lldb/source/Interpreter/CommandObjectScript.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lldb/source/Interpreter/CommandObjectScript.cpp') diff --git a/lldb/source/Interpreter/CommandObjectScript.cpp b/lldb/source/Interpreter/CommandObjectScript.cpp index edb1f67e7b3..d9ee30ca8ab 100644 --- a/lldb/source/Interpreter/CommandObjectScript.cpp +++ b/lldb/source/Interpreter/CommandObjectScript.cpp @@ -7,12 +7,9 @@ //===----------------------------------------------------------------------===// #include "CommandObjectScript.h" - - #include "lldb/Core/Debugger.h" - #include "lldb/DataFormatters/DataVisualization.h" - +#include "lldb/Host/Config.h" #include "lldb/Interpreter/CommandInterpreter.h" #include "lldb/Interpreter/CommandReturnObject.h" #include "lldb/Interpreter/ScriptInterpreter.h" -- cgit v1.2.3