summaryrefslogtreecommitdiffstats
path: root/lldb/include
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-12-16 11:52:36 +0100
committerRaphael Isemann <teemperor@gmail.com>2019-12-16 12:09:05 +0100
commit75e8a91cf84fce2432f70949ab9e353ff2322a5f (patch)
tree7cd3fa6d339f6ba88746b1d8e8e08944efdaf9ba /lldb/include
parentea2805a04b65331ca568ff76761ef8a52337e42b (diff)
downloadbcm5719-llvm-75e8a91cf84fce2432f70949ab9e353ff2322a5f.tar.gz
bcm5719-llvm-75e8a91cf84fce2432f70949ab9e353ff2322a5f.zip
[lldb][NFC] Remove all overloads of Copy/DeportType in ClangASTImporter
The overloads that don't take a CompilerType serve no purpose as we always have a CompilerType in the scope where we call them. Instead just call the overload that takes a CompilerType and delete the now unused other overloaded methods.
Diffstat (limited to 'lldb/include')
-rw-r--r--lldb/include/lldb/Symbol/ClangASTImporter.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/lldb/include/lldb/Symbol/ClangASTImporter.h b/lldb/include/lldb/Symbol/ClangASTImporter.h
index cd01bed624c..58e068658ad 100644
--- a/lldb/include/lldb/Symbol/ClangASTImporter.h
+++ b/lldb/include/lldb/Symbol/ClangASTImporter.h
@@ -48,21 +48,12 @@ public:
: m_file_manager(clang::FileSystemOptions(),
FileSystem::Instance().GetVirtualFileSystem()) {}
- clang::QualType CopyType(clang::ASTContext *dst_ctx,
- clang::ASTContext *src_ctx, clang::QualType type);
-
- lldb::opaque_compiler_type_t CopyType(clang::ASTContext *dst_ctx,
- clang::ASTContext *src_ctx,
- lldb::opaque_compiler_type_t type);
-
CompilerType CopyType(ClangASTContext &dst, const CompilerType &src_type);
clang::Decl *CopyDecl(clang::ASTContext *dst_ctx, clang::ASTContext *src_ctx,
clang::Decl *decl);
- lldb::opaque_compiler_type_t DeportType(clang::ASTContext *dst_ctx,
- clang::ASTContext *src_ctx,
- lldb::opaque_compiler_type_t type);
+ CompilerType DeportType(ClangASTContext &dst, const CompilerType &src_type);
clang::Decl *DeportDecl(clang::ASTContext *dst_ctx,
clang::ASTContext *src_ctx, clang::Decl *decl);
OpenPOWER on IntegriCloud