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
- indent_func_call_param: Whether to indent continued function call parameters one indent level, rather than aligning parameters under the open parenthesis.
- indent_func_def_param: Same as indent_func_def_param but for function definitions.
- indent_func_proto_param: Same as indent_func_def_param, but for function prototypes.
- indent_func_class_param: Same as indent_func_def_param, but for class declarations.
- indent_func_ctor_var_param: Same as indent_func_def_param, but for class variable constructors.
- indent_template_param: Same as indent_func_def_param, but for template parameter lists.