diff options
| author | Konrad Kleine <kkleine@redhat.com> | 2020-04-06 08:37:58 -0400 |
|---|---|---|
| committer | Konrad Kleine <kkleine@redhat.com> | 2020-04-06 10:05:59 -0400 |
| commit | 9072df8ac1431dba51394b77ead766aada82867f (patch) | |
| tree | 3e54c753dc0798fbd500b2be488303ce196f6911 /lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py | |
| parent | f8e1fc20cb3984faf62cdd947e4d1a408a9000d8 (diff) | |
[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
Diffstat (limited to 'lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py')
0 files changed, 0 insertions, 0 deletions
