indent_access_spec_body

Whether to indent the code after an access specifier by one level.

If true, this option forces 'indent_access_spec=0'.

Possible values are true and false, default false.

Examples

true

Code before:

class Barrel {
int width;

public:
Barrel();
virtual ~Barrel();

int getWidth() const;
};

Code after:

class Barrel {
int width;

public:
    Barrel();
    virtual ~Barrel();

    int getWidth() const;
};

See also