Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lldb][nfc] remove overriden funcs with default impl
Summary: These `SearchFilter` methods all return `true` by their default implementation: ```lang=c++ virtual bool ModulePasses(const FileSpec &spec); virtual bool ModulePasses(const lldb::ModuleSP &module_sp); virtual bool AddressPasses(Address &addr); virtual bool CompUnitPasses(FileSpec &fileSpec); virtual bool CompUnitPasses(CompileUnit &compUnit); ``` That's why I've documented the default behavior and remove the overrides (except for `AddressPasses`) in these `SearchFilter`-subclasses which all just repeated the default implementation: `SearchFilterByModule`, `SearchFilterByModuleList`. Reviewers: jankratochvil, labath Reviewed By: jankratochvil, labath Subscribers: labath, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D77376
- Loading branch information
Showing
2 changed files
with
10 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters