[lldb][NFC] Remove unused ClangASTContext::GetUnknownAnyType

This commit is contained in:
Raphael Isemann 2019-11-20 12:56:42 +01:00
parent e18ab2a0b8
commit 54b86b010b
2 changed files with 0 additions and 13 deletions

View File

@ -163,12 +163,6 @@ public:
CompilerType GetCStringType(bool is_const);
static CompilerType GetUnknownAnyType(clang::ASTContext *ast);
CompilerType GetUnknownAnyType() {
return ClangASTContext::GetUnknownAnyType(getASTContext());
}
static clang::DeclContext *GetDeclContextForType(clang::QualType type);
static clang::DeclContext *GetDeclContextForType(const CompilerType &type);

View File

@ -1236,13 +1236,6 @@ CompilerType ClangASTContext::GetBuiltinTypeForDWARFEncodingAndBitSize(
return CompilerType();
}
CompilerType ClangASTContext::GetUnknownAnyType(clang::ASTContext *ast) {
if (ast)
return CompilerType(ClangASTContext::GetASTContext(ast),
ast->UnknownAnyTy.getAsOpaquePtr());
return CompilerType();
}
CompilerType ClangASTContext::GetCStringType(bool is_const) {
ASTContext *ast = getASTContext();
QualType char_type(ast->CharTy);