summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-11-20 12:56:42 +0100
committerRaphael Isemann <teemperor@gmail.com>2019-11-20 13:07:43 +0100
commit54b86b010bf52ae3f1c5499e38dc8ea52e17a9f2 (patch)
tree454b45e7f24326a962d6bb03a54bc19fd6d9c7a5
parente18ab2a0b801e75ee39bb8ba30584c69b4c6e577 (diff)
downloadbcm5719-llvm-54b86b010bf52ae3f1c5499e38dc8ea52e17a9f2.tar.gz
bcm5719-llvm-54b86b010bf52ae3f1c5499e38dc8ea52e17a9f2.zip
[lldb][NFC] Remove unused ClangASTContext::GetUnknownAnyType
-rw-r--r--lldb/include/lldb/Symbol/ClangASTContext.h6
-rw-r--r--lldb/source/Symbol/ClangASTContext.cpp7
2 files changed, 0 insertions, 13 deletions
diff --git a/lldb/include/lldb/Symbol/ClangASTContext.h b/lldb/include/lldb/Symbol/ClangASTContext.h
index c279bdb82c4..f4428c68218 100644
--- a/lldb/include/lldb/Symbol/ClangASTContext.h
+++ b/lldb/include/lldb/Symbol/ClangASTContext.h
@@ -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);
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index bee72b219b5..b35d264ceb9 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -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);
OpenPOWER on IntegriCloud