forked from OSchip/llvm-project
[lldb][NFC] Remove unused ClangASTContext::GetUnknownAnyType
This commit is contained in:
parent
e18ab2a0b8
commit
54b86b010b
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue