indent_braces_no_struct

Whether to disable indenting struct braces if indent_braces=true.

Possible values are true and false, default false.

Works only if indent_braces is true.

Examples

Config:

indent_braces = true
#indent_braces_no_struct = false # this is default

Before:

struct Barrel
{
    int width;
    int height;
    int radius;
};

int boo()
{
    Barrel b;
    b.width = 15;
    std::cout << "Width is " << b.width << '\n';
    return 0;
}

code after:

struct Barrel
    {
    int width;
    int height;
    int radius;
    };

int boo()
    {
    Barrel b;
    b.width = 15;
    std::cout << "Width is " << b.width << '\n';
    return 0;
    }

See also