[lldb] Remove ClangASTImporter from Target
authorAlex Langford <apl@fb.com>
Thu, 23 Jan 2020 21:49:54 +0000 (13:49 -0800)
committerAlex Langford <apl@fb.com>
Tue, 28 Jan 2020 21:40:49 +0000 (13:40 -0800)
commitc4f6fbe971351273b19a4a819bf6ceae2b70b37e
treef0b80ab3105d4871a55445e08dbabd3639c73b74
parent7f434b91a95f71ccd775c0cc43a5bc6f7dd5b939
[lldb] Remove ClangASTImporter from Target

Target is one of the classes responsible for vending ClangASTImporter.
Target doesn't need to know anything about ClangASTImporter, so if we
instead have ClangPersistentVariables vend it, we can preserve
existing behavior while improving layering and removing dependencies
from non-plugins to plugins.
lldb/include/lldb/Symbol/TypeSystemClang.h
lldb/include/lldb/Target/Target.h
lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h
lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp
lldb/source/Symbol/TypeSystemClang.cpp
lldb/source/Target/Target.cpp