diff options
Diffstat (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionDeclMap.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp index 7f2d9fc53d8..4e52d8f528c 100644 --- a/lldb/source/Expression/ClangExpressionDeclMap.cpp +++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp @@ -2611,12 +2611,13 @@ ClangExpressionDeclMap::FindExternalVisibleDecls (NameSearchContext &context, if (!context.m_found.variable) { - const bool include_symbols = true; const bool include_inlines = false; const bool append = false; if (namespace_decl && module_sp) { + const bool include_symbols = false; + module_sp->FindFunctions(name, &namespace_decl, eFunctionNameTypeBase, @@ -2627,6 +2628,8 @@ ClangExpressionDeclMap::FindExternalVisibleDecls (NameSearchContext &context, } else { + const bool include_symbols = true; + target->GetImages().FindFunctions(name, eFunctionNameTypeBase, include_symbols, |