Skip to content

Indentation Check with Namespace #441

@LupusUmbrae

Description

@LupusUmbrae

I've noticed that the indentation check seems to give incorrect results when indenting after namespaces. I'm expected with indentNamespace = true that the check expects code inside a namespace block to be indented

Take the follow code snippet:

  namespace pi {
    using rapidxml::xml_node;

With an indentation level of 4, and indentNamespace true i would expect that to pass, instead i get the error "Make this line start at column 1."

Later on when we indent again we get the same issue:

    PngDataSet::PngDataSet(...)
    {
        if (config.compare("") != 0)

With the above i get the error "Make this line start at column 5."

Thanks in advance

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions