Move all clang type system DWARF type parsing into ClangASTContext.cpp.

Another step towards isolating all language/AST specific code into the files to further abstract specific implementations of parsing types for a given language.

llvm-svn: 245090
This commit is contained in:
Greg Clayton
2015-08-14 20:02:05 +00:00
parent 4ca630be18
commit 8b4edba9da
12 changed files with 4329 additions and 3926 deletions

View File

@@ -416,6 +416,17 @@ Module::GetUUID()
return m_uuid;
}
TypeSystem *
Module::GetTypeSystemForLanguage (LanguageType language)
{
if (language != eLanguageTypeSwift)
{
// For now assume all languages except swift use the ClangASTContext for types
return &GetClangASTContext();
}
return nullptr;
}
ClangASTContext &
Module::GetClangASTContext ()
{