Not planned
Description
It's not possible to adjust the position of braces when there is a multiple lines initialization list.
For example, in a code bases with Allman-like braces placement style. This
std::vector<Bar> foo =
{
makeBar(x, y, z),
makeBar(u, v, w)
};
std::vector<int> baz = { 1, 2 };
is always transformed into this:
std::vector<Bar> foo = {
makeBar(x, y, z),
makeBar(u, v, w)
};
std::vector<int> baz = { 1, 2 };
It looks like there is a blocked PR related to this here: https://reviews.llvm.org/D91949
Activity
alejandroclaro commentedon Apr 7, 2023
Sorry for this. I mistakenly reported the problem in the wrong repository
Junjie-Fan commentedon Jul 31, 2024
does some format config can solve this?