[Lldb-commits] [lldb] r152472 - /lldb/trunk/source/Symbol/ClangASTContext.cpp
Sean Callanan
scallanan at apple.com
Fri Mar 9 18:00:32 PST 2012
Author: spyffe
Date: Fri Mar 9 20:00:32 2012
New Revision: 152472
URL: http://llvm.org/viewvc/llvm-project?rev=152472&view=rev
Log:
...And finished the job.
Modified:
lldb/trunk/source/Symbol/ClangASTContext.cpp
Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=152472&r1=152471&r2=152472&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Fri Mar 9 20:00:32 2012
@@ -5982,7 +5982,8 @@
const ObjCObjectPointerType *obj_pointer_type = dyn_cast<ObjCObjectPointerType>(qual_type);
if (!obj_pointer_type)
*class_type = NULL;
- *class_type = QualType(obj_pointer_type->getInterfaceType(), 0).getAsOpaquePtr();
+ else
+ *class_type = QualType(obj_pointer_type->getInterfaceType(), 0).getAsOpaquePtr();
}
}
return true;
More information about the lldb-commits
mailing list