For the following cpp file:
class Dummy {
};
class Foo : public Dummy {
protected:
public:
private:
class Bar {
string without_specifier;
}
}
It gives the following issues:
Class 'Foo' should have an access specifier at first.
Class 'Bar' should have an access specifier at first.
But actually the class Foo have access specifiers.