mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 23:49:22 +08:00
Rename clang_type -> compiler_type for variables.
Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13102 llvm-svn: 248461
This commit is contained in:
@@ -368,16 +368,16 @@ ObjCLanguageRuntime::GetEncodingToType ()
|
||||
}
|
||||
|
||||
bool
|
||||
ObjCLanguageRuntime::GetTypeBitSize (const CompilerType& clang_type,
|
||||
ObjCLanguageRuntime::GetTypeBitSize (const CompilerType& compiler_type,
|
||||
uint64_t &size)
|
||||
{
|
||||
void *opaque_ptr = clang_type.GetOpaqueQualType();
|
||||
void *opaque_ptr = compiler_type.GetOpaqueQualType();
|
||||
size = m_type_size_cache.Lookup(opaque_ptr);
|
||||
// an ObjC object will at least have an ISA, so 0 is definitely not OK
|
||||
if (size > 0)
|
||||
return true;
|
||||
|
||||
ClassDescriptorSP class_descriptor_sp = GetClassDescriptorFromClassName(clang_type.GetTypeName());
|
||||
ClassDescriptorSP class_descriptor_sp = GetClassDescriptorFromClassName(compiler_type.GetTypeName());
|
||||
if (!class_descriptor_sp)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user