diff options
author | Greg Clayton <gclayton@apple.com> | 2015-10-08 21:04:34 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-10-08 21:04:34 +0000 |
commit | 5beec213e24139e99ebbf1b35ca9731849f8843a (patch) | |
tree | 0350e660a6bd95ad384cc8d8e74a5569591a4cc2 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 1890799f0ca4b83bda70b2ad8e9b79d24ccc4d14 (diff) | |
download | llvm-5beec213e24139e99ebbf1b35ca9731849f8843a.zip llvm-5beec213e24139e99ebbf1b35ca9731849f8843a.tar.gz llvm-5beec213e24139e99ebbf1b35ca9731849f8843a.tar.bz2 |
Moved the target specific ClangASTContext initialization over into ClangASTContext::CreateInstance.
This involved changing the TypeSystem::CreateInstance to take a module or a target. This allows type systems to create an AST for modules (no expression support needed) or targets (expression support is needed) and return the correct class instance for both cases.
llvm-svn: 249747
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions