indent_func_class_param

Same as indent_func_call_param, but for class declarations.

Possible values are true and false, default false.

Examples

true

Before:

class Barrel {
public:

Barrel();
virtual ~Barrel();

int getWidth(int x,
        int y) const;

protected:
int width;
};

int Barrel::getWidth(int x,
        int y) const {
    return width;
}

code after:

class Barrel {
public:

Barrel();
virtual ~Barrel();

int getWidth(int x,
    int y) const;

protected:
int width;
};

int Barrel::getWidth(int x,
                     int y) const {
    return width;
}

false

Before:

...
int getWidth(int x,
        int y) const;
...

int Barrel::getWidth(int x,
        int y) const {
    return width;
}

code after:

...
int getWidth(int x,
             int y) const;
...

int Barrel::getWidth(int x,
                     int y) const {
    return width;
}

See also