-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
Problem:
When declaring nested classes in C++, the uncrustify linter indents their access specifiers incorrectly.
Current behaviour:
The following example shows the current result of running uncrustify:
class SomeClass{
public:
class SomeNestedClass{
public:
SomeNestedClass();
private:
int some_private_member_;
};
};Desired behaviour:
The desired behaviour would be to indent access specifiers on the level of the class they belong to as shown below:
class SomeClass{
public:
class SomeNestedClass{
public:
SomeNestedClass();
private:
int some_private_member_;
};
};Proposed Solution:
The desired behaviour can be obtained if the indent_access_spec property is set to -indent_columns.
Metadata
Metadata
Assignees
Labels
No labels