summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ModuleList.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-10-12 02:08:07 +0000
committerSean Callanan <scallanan@apple.com>2011-10-12 02:08:07 +0000
commitb6d70ebc0a37c6e1657cb1f17d8f67dabefbeda8 (patch)
tree81eda6ffe0a14872577ec166e33200a4f4a67814 /lldb/source/Core/ModuleList.cpp
parent88972243638da61c7807ef9715cc2ad10b80dd42 (diff)
downloadbcm5719-llvm-b6d70ebc0a37c6e1657cb1f17d8f67dabefbeda8.tar.gz
bcm5719-llvm-b6d70ebc0a37c6e1657cb1f17d8f67dabefbeda8.zip
Added ClangNamespaceDecl * parameters to several
core Module functions that the expression parser will soon be using. llvm-svn: 141766
Diffstat (limited to 'lldb/source/Core/ModuleList.cpp')
-rw-r--r--lldb/source/Core/ModuleList.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/lldb/source/Core/ModuleList.cpp b/lldb/source/Core/ModuleList.cpp
index 4ee475b050d..7c35c9b6ed3 100644
--- a/lldb/source/Core/ModuleList.cpp
+++ b/lldb/source/Core/ModuleList.cpp
@@ -16,6 +16,7 @@
#include "lldb/Core/Log.h"
#include "lldb/Core/Module.h"
#include "lldb/Host/Symbols.h"
+#include "lldb/Symbol/ClangNamespaceDecl.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Symbol/VariableList.h"
@@ -186,7 +187,7 @@ ModuleList::FindFunctions (const ConstString &name,
collection::const_iterator pos, end = m_modules.end();
for (pos = m_modules.begin(); pos != end; ++pos)
{
- (*pos)->FindFunctions (name, name_type_mask, include_symbols, true, sc_list);
+ (*pos)->FindFunctions (name, NULL, name_type_mask, include_symbols, true, sc_list);
}
return sc_list.GetSize();
@@ -221,7 +222,7 @@ ModuleList::FindGlobalVariables (const ConstString &name,
collection::iterator pos, end = m_modules.end();
for (pos = m_modules.begin(); pos != end; ++pos)
{
- (*pos)->FindGlobalVariables (name, append, max_matches, variable_list);
+ (*pos)->FindGlobalVariables (name, NULL, append, max_matches, variable_list);
}
return variable_list.GetSize() - initial_size;
}
@@ -253,7 +254,7 @@ ModuleList::FindSymbolsWithNameAndType (const ConstString &name,
sc_list.Clear();
collection::iterator pos, end = m_modules.end();
for (pos = m_modules.begin(); pos != end; ++pos)
- (*pos)->FindSymbolsWithNameAndType (name, symbol_type, sc_list);
+ (*pos)->FindSymbolsWithNameAndType (name, NULL, symbol_type, sc_list);
return sc_list.GetSize();
}
@@ -423,7 +424,7 @@ ModuleList::FindTypes_Impl (const SymbolContext& sc, const ConstString &name, bo
for (pos = m_modules.begin(); pos != end; ++pos)
{
if (sc.module_sp.get() == NULL || sc.module_sp.get() == (*pos).get())
- total_matches += (*pos)->FindTypes (sc, name, true, max_matches, types);
+ total_matches += (*pos)->FindTypes (sc, name, NULL, true, max_matches, types);
if (total_matches >= max_matches)
break;
OpenPOWER on IntegriCloud