diff options
author | Greg Clayton <gclayton@apple.com> | 2011-07-08 18:27:39 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-07-08 18:27:39 +0000 |
commit | affb03b7fb5303d0f3484367dbbc362bd73f492e (patch) | |
tree | 462631ad6fee05a0b803f47e16d6e71e8eaf8251 /lldb/source/Expression/ClangExpressionDeclMap.cpp | |
parent | 7ddc1d709fe18143e2883d8201a368fa4b1fbaa7 (diff) | |
download | bcm5719-llvm-affb03b7fb5303d0f3484367dbbc362bd73f492e.tar.gz bcm5719-llvm-affb03b7fb5303d0f3484367dbbc362bd73f492e.zip |
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
Diffstat (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionDeclMap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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, |