diff options
author | Zachary Turner <zturner@google.com> | 2018-10-25 20:45:40 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-10-25 20:45:40 +0000 |
commit | 117b1fa19af43aff5d4ef0e5f35b80c9c27c5cf1 (patch) | |
tree | 94c2e53e2de6ed3fad41eb7c3cc40ba4eb5f6c1b /lldb/source/Core/ModuleList.cpp | |
parent | 991e44534a822a5c968ed85a0cce1cc529ad9e57 (diff) | |
download | bcm5719-llvm-117b1fa19af43aff5d4ef0e5f35b80c9c27c5cf1.tar.gz bcm5719-llvm-117b1fa19af43aff5d4ef0e5f35b80c9c27c5cf1.zip |
Don't type-erase the FunctionNameType or TypeClass enums.
This is similar to D53597, but following up with 2 more enums.
After this, all flag enums should be strongly typed all the way
through to the symbol files plugins.
Differential Revision: https://reviews.llvm.org/D53616
llvm-svn: 345314
Diffstat (limited to 'lldb/source/Core/ModuleList.cpp')
-rw-r--r-- | lldb/source/Core/ModuleList.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lldb/source/Core/ModuleList.cpp b/lldb/source/Core/ModuleList.cpp index 3ce294c628e..cf41962977e 100644 --- a/lldb/source/Core/ModuleList.cpp +++ b/lldb/source/Core/ModuleList.cpp @@ -338,8 +338,9 @@ ModuleSP ModuleList::GetModuleAtIndexUnlocked(size_t idx) const { } size_t ModuleList::FindFunctions(const ConstString &name, - uint32_t name_type_mask, bool include_symbols, - bool include_inlines, bool append, + FunctionNameType name_type_mask, + bool include_symbols, bool include_inlines, + bool append, SymbolContextList &sc_list) const { if (!append) sc_list.Clear(); @@ -373,7 +374,7 @@ size_t ModuleList::FindFunctions(const ConstString &name, } size_t ModuleList::FindFunctionSymbols(const ConstString &name, - uint32_t name_type_mask, + lldb::FunctionNameType name_type_mask, SymbolContextList &sc_list) { const size_t old_size = sc_list.GetSize(); |