From affb03b7fb5303d0f3484367dbbc362bd73f492e Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 8 Jul 2011 18:27:39 +0000 Subject: Fixed a few issues where typedefs weren't passing through to the correct recursive function. Also fixed ClangASTContext::IsPointerType to correctly NULL out the pointee handle if a valid one is provided. llvm-svn: 134715 --- lldb/source/Expression/ClangExpressionDeclMap.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp') diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp index 50f1e8838f1..9ee556e0c7f 100644 --- a/lldb/source/Expression/ClangExpressionDeclMap.cpp +++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp @@ -1919,6 +1919,7 @@ ClangExpressionDeclMap::GetDecls (NameSearchContext &context, const ConstString if (!ClangASTContext::IsPointerType(self_user_type.GetOpaqueQualType(), &pointer_target_type)) + || pointer_target_type == NULL) return; TypeFromUser class_user_type(pointer_target_type, -- cgit v1.2.3