Commit 8059188c authored by Raphael Isemann's avatar Raphael Isemann
Browse files

[lldb][NFC] Remove unused ClangASTContext::GetBasicType(ConstString)

parent c214c92f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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,
+0 −5
Original line number Diff line number Diff line
@@ -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)