[Lldb-commits] [lldb] 9dbd395 - [lldb] Remove ClangASTContext.h inclusion in Target.cpp

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 16 22:44:26 PST 2020


Author: Alex Langford
Date: 2020-01-16T22:43:10-08:00
New Revision: 9dbd395b9b8b5f0cb4d10fa05f6f3591d338e486

URL: https://github.com/llvm/llvm-project/commit/9dbd395b9b8b5f0cb4d10fa05f6f3591d338e486
DIFF: https://github.com/llvm/llvm-project/commit/9dbd395b9b8b5f0cb4d10fa05f6f3591d338e486.diff

LOG: [lldb] Remove ClangASTContext.h inclusion in Target.cpp

Target doesn't use ClangASTContext, it just needs
PersistentExpressionState. Replace ClangASTContext.h with
ExpressionVariable.h

Added: 
    

Modified: 
    lldb/source/Target/Target.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp
index 83e6f3062666..1b691e1332b6 100644
--- a/lldb/source/Target/Target.cpp
+++ b/lldb/source/Target/Target.cpp
@@ -27,6 +27,7 @@
 #include "lldb/Core/StreamFile.h"
 #include "lldb/Core/StructuredDataImpl.h"
 #include "lldb/Core/ValueObject.h"
+#include "lldb/Expression/ExpressionVariable.h"
 #include "lldb/Expression/REPL.h"
 #include "lldb/Expression/UserExpression.h"
 #include "lldb/Host/Host.h"
@@ -36,7 +37,6 @@
 #include "lldb/Interpreter/OptionGroupWatchpoint.h"
 #include "lldb/Interpreter/OptionValues.h"
 #include "lldb/Interpreter/Property.h"
-#include "lldb/Symbol/ClangASTContext.h"
 #include "lldb/Symbol/ClangASTImporter.h"
 #include "lldb/Symbol/Function.h"
 #include "lldb/Symbol/ObjectFile.h"


        


More information about the lldb-commits mailing list