Fix clang-tidy cppcoreguidelines-virtual-class-destructor warnings in headers

This commit is contained in:
Tim Wojtulewicz 2025-06-10 14:27:54 -07:00
parent e84c99fb14
commit 311a744a20
8 changed files with 24 additions and 14 deletions

View file

@ -356,6 +356,8 @@ protected:
class IndexType : public Type {
public:
~IndexType() override = default;
int MatchesIndex(detail::ListExpr* index) const override;
const TypeListPtr& GetIndices() const { return indices; }
@ -391,8 +393,6 @@ protected:
is_pattern_index = types.size() == 1 && types[0]->Tag() == TYPE_PATTERN;
}
~IndexType() override = default;
void DoDescribe(ODesc* d) const override;
TypeListPtr indices;