diff options
author | Alex Langford <apl@fb.com> | 2019-10-07 23:43:33 +0000 |
---|---|---|
committer | Alex Langford <apl@fb.com> | 2019-10-07 23:43:33 +0000 |
commit | f4c7345b88f8ca56ee350a4a0dbfee7e2db79839 (patch) | |
tree | efda154a55f8de30e9fe4186cd96f5cfd2f7e8b3 /lldb/source/Symbol/ClangASTContext.cpp | |
parent | c8a6df71305f1c49f27371c1a4310685854c46c1 (diff) | |
download | bcm5719-llvm-f4c7345b88f8ca56ee350a4a0dbfee7e2db79839.tar.gz bcm5719-llvm-f4c7345b88f8ca56ee350a4a0dbfee7e2db79839.zip |
[Symbol] Remove unused method ClangASTContext::GetObjCClassName
llvm-svn: 373990
Diffstat (limited to 'lldb/source/Symbol/ClangASTContext.cpp')
-rw-r--r-- | lldb/source/Symbol/ClangASTContext.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index ffb8d4b39c9..c0d48bd7783 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -3916,25 +3916,6 @@ bool ClangASTContext::IsObjCObjectPointerType(const CompilerType &type, return false; } -bool ClangASTContext::GetObjCClassName(const CompilerType &type, - std::string &class_name) { - if (!type) - return false; - - clang::QualType qual_type(ClangUtil::GetCanonicalQualType(type)); - - const clang::ObjCObjectType *object_type = - llvm::dyn_cast<clang::ObjCObjectType>(qual_type); - if (object_type) { - const clang::ObjCInterfaceDecl *interface = object_type->getInterface(); - if (interface) { - class_name = interface->getNameAsString(); - return true; - } - } - return false; -} - // Type Completion bool ClangASTContext::GetCompleteType(lldb::opaque_compiler_type_t type) { |