diff options
author | Sean Callanan <scallanan@apple.com> | 2011-10-12 02:08:07 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-10-12 02:08:07 +0000 |
commit | b6d70ebc0a37c6e1657cb1f17d8f67dabefbeda8 (patch) | |
tree | 81eda6ffe0a14872577ec166e33200a4f4a67814 /lldb/source/Core/Module.cpp | |
parent | 88972243638da61c7807ef9715cc2ad10b80dd42 (diff) | |
download | bcm5719-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/Module.cpp')
-rw-r--r-- | lldb/source/Core/Module.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lldb/source/Core/Module.cpp b/lldb/source/Core/Module.cpp index e2c921e1430..91395488af8 100644 --- a/lldb/source/Core/Module.cpp +++ b/lldb/source/Core/Module.cpp @@ -350,7 +350,7 @@ Module::ResolveSymbolContextsForFileSpec (const FileSpec &file_spec, uint32_t li uint32_t -Module::FindGlobalVariables(const ConstString &name, bool append, uint32_t max_matches, VariableList& variables) +Module::FindGlobalVariables(const ConstString &name, const ClangNamespaceDecl *namespace_decl, bool append, uint32_t max_matches, VariableList& variables) { SymbolVendor *symbols = GetSymbolVendor (); if (symbols) @@ -389,7 +389,8 @@ Module::FindCompileUnits (const FileSpec &path, } uint32_t -Module::FindFunctions (const ConstString &name, +Module::FindFunctions (const ConstString &name, + const ClangNamespaceDecl *namespace_decl, uint32_t name_type_mask, bool include_symbols, bool append, @@ -509,7 +510,7 @@ StripTypeName(const char* name_cstr) } uint32_t -Module::FindTypes (const SymbolContext& sc, const ConstString &name, bool append, uint32_t max_matches, TypeList& types) +Module::FindTypes (const SymbolContext& sc, const ConstString &name, const ClangNamespaceDecl *namespace_decl, bool append, uint32_t max_matches, TypeList& types) { uint32_t retval = FindTypes_Impl(sc, name, append, max_matches, types); @@ -686,7 +687,7 @@ Module::SymbolIndicesToSymbolContextList (Symtab *symtab, std::vector<uint32_t> } size_t -Module::FindSymbolsWithNameAndType (const ConstString &name, SymbolType symbol_type, SymbolContextList &sc_list) +Module::FindSymbolsWithNameAndType (const ConstString &name, const ClangNamespaceDecl *namespace_decl, SymbolType symbol_type, SymbolContextList &sc_list) { // No need to protect this call using m_mutex all other method calls are // already thread safe. |