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:
Bruce Mitchener
2015-09-24 03:54:50 +00:00
parent 74621cced7
commit 3ad353f3f4
69 changed files with 685 additions and 685 deletions

View File

@@ -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;