[(pushed)] analyzer: add missing final keyword
Commit Message
Fixes the following clang warning:
gcc/analyzer/region-model.cc:5096:8: warning: 'subclass_equal_p' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
gcc/analyzer/ChangeLog:
* region-model.cc: Add missing final keyword.
---
gcc/analyzer/region-model.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -5093,7 +5093,7 @@ public:
return "float_as_size_arg_diagnostic";
}
- bool subclass_equal_p (const pending_diagnostic &other) const
+ bool subclass_equal_p (const pending_diagnostic &other) const final override
{
return same_tree_p (m_arg, ((const float_as_size_arg &) other).m_arg);
}