Added ClangNamespaceDecl * parameters to several
core Module functions that the expression parser
will soon be using.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@141766 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectMemory.cpp b/source/Commands/CommandObjectMemory.cpp
index 9629c84..1aa92fd 100644
--- a/source/Commands/CommandObjectMemory.cpp
+++ b/source/Commands/CommandObjectMemory.cpp
@@ -25,6 +25,7 @@
#include "lldb/Interpreter/OptionGroupFormat.h"
#include "lldb/Interpreter/OptionGroupOutputFile.h"
#include "lldb/Interpreter/OptionGroupValueObjectDisplay.h"
+#include "lldb/Symbol/ClangNamespaceDecl.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/StackFrame.h"
@@ -447,8 +448,9 @@
sc = frame->GetSymbolContext (eSymbolContextModule);
if (sc.module_sp)
{
- sc.module_sp->FindTypes (sc,
- lookup_type_name,
+ sc.module_sp->FindTypes (sc,
+ lookup_type_name,
+ NULL,
append,
1,
type_list);
diff --git a/source/Commands/CommandObjectTarget.cpp b/source/Commands/CommandObjectTarget.cpp
index 2be8e8d..3c92f8e 100644
--- a/source/Commands/CommandObjectTarget.cpp
+++ b/source/Commands/CommandObjectTarget.cpp
@@ -1498,7 +1498,8 @@
else
{
ConstString function_name (name);
- num_matches = module->FindFunctions (function_name,
+ num_matches = module->FindFunctions (function_name,
+ NULL,
eFunctionNameTypeBase | eFunctionNameTypeFull | eFunctionNameTypeMethod | eFunctionNameTypeSelector,
include_symbols,
append,
@@ -1543,7 +1544,7 @@
// else
// {
ConstString name(name_cstr);
- num_matches = module->FindTypes(sc, name, true, UINT32_MAX, type_list);
+ num_matches = module->FindTypes(sc, name, NULL, true, UINT32_MAX, type_list);
// }
if (num_matches)