mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 23:49:22 +08:00
[lldb][ObjC] Don't query objective-c runtime for decls in C++ contexts (#95963)
This commit is contained in:
@@ -637,7 +637,7 @@ void ClangASTSource::FindExternalVisibleDecls(
|
||||
FindDeclInModules(context, name);
|
||||
}
|
||||
|
||||
if (!context.m_found_type) {
|
||||
if (!context.m_found_type && m_ast_context->getLangOpts().ObjC) {
|
||||
FindDeclInObjCRuntime(context, name);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user