Author: gclayton Date: Wed Sep 9 17:13:36 2015 New Revision: 247197 URL: http://llvm.org/viewvc/llvm-project?rev=247197&view=rev Log: Remove unused function.
Modified: lldb/trunk/include/lldb/Symbol/ClangASTContext.h lldb/trunk/source/Symbol/ClangASTContext.cpp Modified: lldb/trunk/include/lldb/Symbol/ClangASTContext.h URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Symbol/ClangASTContext.h?rev=247197&r1=247196&r2=247197&view=diff ============================================================================== --- lldb/trunk/include/lldb/Symbol/ClangASTContext.h (original) +++ lldb/trunk/include/lldb/Symbol/ClangASTContext.h Wed Sep 9 17:13:36 2015 @@ -209,10 +209,6 @@ public: return GetTranslationUnitDecl (getASTContext()); } - static CompilerType - CopyType(clang::ASTContext *dest_context, - CompilerType source_type); - static clang::Decl * CopyDecl (clang::ASTContext *dest_context, clang::ASTContext *source_context, Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=247197&r1=247196&r2=247197&view=diff ============================================================================== --- lldb/trunk/source/Symbol/ClangASTContext.cpp (original) +++ lldb/trunk/source/Symbol/ClangASTContext.cpp Wed Sep 9 17:13:36 2015 @@ -1114,25 +1114,6 @@ ClangASTContext::GetTranslationUnitDecl 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, _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits