[Lldb-commits] [lldb] r150590 - /lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp
Sean Callanan
scallanan at apple.com
Wed Feb 15 09:14:49 PST 2012
Author: spyffe
Date: Wed Feb 15 11:14:49 2012
New Revision: 150590
URL: http://llvm.org/viewvc/llvm-project?rev=150590&view=rev
Log:
Stop finding bare symbols when we're explicitly
told to look in a namespace.
Modified:
lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp
Modified: lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp?rev=150590&r1=150589&r2=150590&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp (original)
+++ lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp Wed Feb 15 11:14:49 2012
@@ -2611,12 +2611,13 @@
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 @@
}
else
{
+ const bool include_symbols = true;
+
target->GetImages().FindFunctions(name,
eFunctionNameTypeBase,
include_symbols,
More information about the lldb-commits
mailing list