Skip to content

Commit 54b86b0

Browse files
committed
[lldb][NFC] Remove unused ClangASTContext::GetUnknownAnyType
1 parent e18ab2a commit 54b86b0

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

lldb/include/lldb/Symbol/ClangASTContext.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,6 @@ class ClangASTContext : public TypeSystem {
163163

164164
CompilerType GetCStringType(bool is_const);
165165

166-
static CompilerType GetUnknownAnyType(clang::ASTContext *ast);
167-
168-
CompilerType GetUnknownAnyType() {
169-
return ClangASTContext::GetUnknownAnyType(getASTContext());
170-
}
171-
172166
static clang::DeclContext *GetDeclContextForType(clang::QualType type);
173167

174168
static clang::DeclContext *GetDeclContextForType(const CompilerType &type);

lldb/source/Symbol/ClangASTContext.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,13 +1236,6 @@ CompilerType ClangASTContext::GetBuiltinTypeForDWARFEncodingAndBitSize(
12361236
return CompilerType();
12371237
}
12381238

1239-
CompilerType ClangASTContext::GetUnknownAnyType(clang::ASTContext *ast) {
1240-
if (ast)
1241-
return CompilerType(ClangASTContext::GetASTContext(ast),
1242-
ast->UnknownAnyTy.getAsOpaquePtr());
1243-
return CompilerType();
1244-
}
1245-
12461239
CompilerType ClangASTContext::GetCStringType(bool is_const) {
12471240
ASTContext *ast = getASTContext();
12481241
QualType char_type(ast->CharTy);

0 commit comments

Comments
 (0)