[lldb][NFC] Remove unused ClangASTContext::GetBasicType(ConstString)
authorRaphael Isemann <teemperor@gmail.com>
Fri, 29 Nov 2019 13:08:01 +0000 (14:08 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Fri, 29 Nov 2019 13:11:25 +0000 (14:11 +0100)
lldb/include/lldb/Symbol/ClangASTContext.h
lldb/source/Symbol/ClangASTContext.cpp

index a55307e..b2c2842 100644 (file)
@@ -152,8 +152,6 @@ public:
 
   CompilerType GetBasicType(lldb::BasicType type);
 
-  CompilerType GetBasicType(ConstString name);
-
   static lldb::BasicType GetBasicTypeEnumeration(ConstString name);
 
   CompilerType GetBuiltinTypeForDWARFEncodingAndBitSize(const char *type_name,
index 8428dfe..e683a0a 100644 (file)
@@ -971,11 +971,6 @@ ClangASTContext::GetBasicTypeEnumeration(ConstString name) {
   return eBasicTypeInvalid;
 }
 
-CompilerType ClangASTContext::GetBasicType(ConstString name) {
-  lldb::BasicType basic_type = ClangASTContext::GetBasicTypeEnumeration(name);
-  return GetBasicType(basic_type);
-}
-
 uint32_t ClangASTContext::GetPointerByteSize() {
   if (m_pointer_byte_size == 0)
     if (auto size = GetBasicType(lldb::eBasicTypeVoid)