Warns if one calls grand-..parent's virtual method in child's virtual method instead of overridden parent's. Can automatically fix such cases by retargeting calls to correct class.
class A {
...
int virtual foo() {...}
}
class B: public A {
int foo() override {...}
}
class C: public B {
...
int foo() override {... A::foo()...} // warning: qualified name A::foo refers to a member overridden in subclass; did you mean 'B'? [bugprone-parent-virtual-call]
}
Please run Clang-format and remove empty line between headers.