[Symbol] Decouple clang from CompilerType
authorAlex Langford <apl@fb.com>
Tue, 13 Aug 2019 19:40:36 +0000 (19:40 +0000)
committerAlex Langford <apl@fb.com>
Tue, 13 Aug 2019 19:40:36 +0000 (19:40 +0000)
commitbddab07d4a219642e70b6ab786ee8c54c8108968
tree6c8857ed265593f7e3ab529cef92a793e1440e32
parent0fed4945d9056719e4f6c900ec392f35aca6a6f0
[Symbol] Decouple clang from CompilerType

Summary:
Ideally CompilerType would have no knowledge of clang or any individual
TypeSystem. Decoupling clang is relatively straightforward.

Differential Revision: https://reviews.llvm.org/D66102

llvm-svn: 368741
lldb/include/lldb/Symbol/ClangASTContext.h
lldb/include/lldb/Symbol/CompilerType.h
lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h
lldb/source/Plugins/Language/ObjC/NSArray.cpp
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp
lldb/source/Symbol/ClangASTContext.cpp
lldb/source/Symbol/CompilerType.cpp
lldb/unittests/Symbol/TestClangASTContext.cpp