[Lldb-commits] [lldb] Make only one function that needs to be implemented when searching for types (PR #74786)
Will Hawkins via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 8 23:20:03 PST 2023
================
@@ -301,21 +301,20 @@ class SymbolFile : public PluginInterface {
bool include_inlines, SymbolContextList &sc_list);
virtual void FindFunctions(const RegularExpression ®ex,
bool include_inlines, SymbolContextList &sc_list);
- virtual void
- FindTypes(ConstString name, const CompilerDeclContext &parent_decl_ctx,
- uint32_t max_matches,
- llvm::DenseSet<lldb_private::SymbolFile *> &searched_symbol_files,
- TypeMap &types);
-
- /// Find types specified by a CompilerContextPattern.
- /// \param languages
- /// Only return results in these languages.
- /// \param searched_symbol_files
- /// Prevents one file from being visited multiple times.
- virtual void
- FindTypes(llvm::ArrayRef<CompilerContext> pattern, LanguageSet languages,
- llvm::DenseSet<lldb_private::SymbolFile *> &searched_symbol_files,
- TypeMap &types);
+
+ /// Find types using a type matching object that contains all search
----------------
hawkinsw wrote:
```suggestion
/// Find types using a type-matching object that contains all search
```
https://github.com/llvm/llvm-project/pull/74786
More information about the lldb-commits
mailing list