diff options
| author | Greg Clayton <gclayton@apple.com> | 2015-09-09 22:13:36 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2015-09-09 22:13:36 +0000 |
| commit | 13f11bba7d97c7cc0fcc3f33472868ad93e3485f (patch) | |
| tree | 2340bdab287ebb41a6c7227c7e660de0e1498bf4 /lldb/source/Symbol/ClangASTContext.cpp | |
| parent | 34e2180a00a532747485795229d3d056dbafa275 (diff) | |
| download | bcm5719-llvm-13f11bba7d97c7cc0fcc3f33472868ad93e3485f.tar.gz bcm5719-llvm-13f11bba7d97c7cc0fcc3f33472868ad93e3485f.zip | |
Remove unused function.
llvm-svn: 247197
Diffstat (limited to 'lldb/source/Symbol/ClangASTContext.cpp')
| -rw-r--r-- | lldb/source/Symbol/ClangASTContext.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index cb570824ba3..d1b9303019c 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -1114,25 +1114,6 @@ ClangASTContext::GetTranslationUnitDecl (clang::ASTContext *ast) return ast->getTranslationUnitDecl(); } -CompilerType -ClangASTContext::CopyType (ASTContext *dst_ast, - CompilerType src) -{ - FileSystemOptions file_system_options; - ClangASTContext *src_ast = llvm::dyn_cast_or_null<ClangASTContext>(src.GetTypeSystem()); - if (src_ast == nullptr) - return CompilerType(); - FileManager file_manager (file_system_options); - ASTImporter importer(*dst_ast, file_manager, - *src_ast->getASTContext(), file_manager, - false); - - QualType dst (importer.Import(GetQualType(src))); - - return CompilerType (dst_ast, dst); -} - - clang::Decl * ClangASTContext::CopyDecl (ASTContext *dst_ast, ASTContext *src_ast, |

