diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-10-17 19:56:40 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-10-17 19:56:40 +0000 |
commit | 1ad655e255090620705eb4ce85d869a54d971912 (patch) | |
tree | 0aea7b3e59e4569096a15f8ab9f661e4595983b7 /lldb/source/Core/AddressResolverName.cpp | |
parent | e3905dee0044c8b6c5f3a9cf46b9b6fe45039da6 (diff) | |
download | bcm5719-llvm-1ad655e255090620705eb4ce85d869a54d971912.tar.gz bcm5719-llvm-1ad655e255090620705eb4ce85d869a54d971912.zip |
Modernize the rest of the Find.* API (NFC)
This patch removes the size_t return value and the append parameter
from the remainder of the Find.* functions in LLDB's internal API. As
in the previous patches, this is motivated by the fact that these
parameters aren't really used, and in the case of the append parameter
were frequently implemented incorrectly.
Differential Revision: https://reviews.llvm.org/D69119
llvm-svn: 375160
Diffstat (limited to 'lldb/source/Core/AddressResolverName.cpp')
-rw-r--r-- | lldb/source/Core/AddressResolverName.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Core/AddressResolverName.cpp b/lldb/source/Core/AddressResolverName.cpp index 665d6aa68b4..6b9b7b2de72 100644 --- a/lldb/source/Core/AddressResolverName.cpp +++ b/lldb/source/Core/AddressResolverName.cpp @@ -86,7 +86,6 @@ AddressResolverName::SearchCallback(SearchFilter &filter, const bool include_symbols = false; const bool include_inlines = true; - const bool append = false; switch (m_match_type) { case AddressResolver::Exact: if (context.module_sp) { @@ -94,7 +93,7 @@ AddressResolverName::SearchCallback(SearchFilter &filter, eSymbolTypeCode, sym_list); context.module_sp->FindFunctions(m_func_name, nullptr, eFunctionNameTypeAuto, include_symbols, - include_inlines, append, func_list); + include_inlines, func_list); } break; @@ -103,7 +102,7 @@ AddressResolverName::SearchCallback(SearchFilter &filter, context.module_sp->FindSymbolsMatchingRegExAndType( m_regex, eSymbolTypeCode, sym_list); context.module_sp->FindFunctions(m_regex, include_symbols, - include_inlines, append, func_list); + include_inlines, func_list); } break; |