Skip to content

order - access_specifier_required false alarm for inherited class #2

Open

Description

@keineahnung2345

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions