diff options
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Expression/ClangASTSource.cpp')
-rw-r--r-- | contrib/llvm/tools/lldb/source/Expression/ClangASTSource.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/llvm/tools/lldb/source/Expression/ClangASTSource.cpp b/contrib/llvm/tools/lldb/source/Expression/ClangASTSource.cpp index 316efdf9..23bca54 100644 --- a/contrib/llvm/tools/lldb/source/Expression/ClangASTSource.cpp +++ b/contrib/llvm/tools/lldb/source/Expression/ClangASTSource.cpp @@ -318,6 +318,10 @@ ClangASTSource::CompleteType (clang::ObjCInterfaceDecl *interface_decl) m_ast_importer->CompleteObjCInterfaceDecl (interface_decl); + if (interface_decl->getSuperClass() && + interface_decl->getSuperClass() != interface_decl) + CompleteType(interface_decl->getSuperClass()); + if (log) { log->Printf(" [COID] After:"); @@ -970,6 +974,9 @@ ClangASTSource::FindObjCMethodDecls (NameSearchContext &context) } ss.Flush(); + if (strstr(ss.GetData(), "$__lldb")) + return; // we don't need any results + ConstString selector_name(ss.GetData()); if (log) |