Код: Выделить всё
class Foo
{
public:
Foo(Bar bar);
Foo(Bar *bar);
};
Foo::Foo(Bar bar)
{
if ()
{
while ()
{
}
}
}
Код: Выделить всё
IndentWidth: 2
AccessModifiersOffset: -2
Код: Выделить всё
class Foo
{
public:
Foo(Bar bar);
Foo(Bar *bar);
};
Foo::Foo(Bar bar)
{
if ()
{
while ()
{
}
}
}
Какие параметры формата .clang мне следует установить для достижения такого форматирования?
Подробнее здесь: https://stackoverflow.com/questions/797 ... definition
Мобильная версия