For following code block:
std::vector<std::pair<std::string, int>> regex_color
{
{"\\`", 1 }, //
{"\\'", 1},
{"\\\"", 2},
};
if " 'if' statement blocks " option in C/C++->formatting->Edit profile -> Brace Style -> Statement Styles is set to "Same line".
The code block is indented as follows with all std::pair initializing lines concatenated into one line.
std::vector<std::pair<std::string, int>> regex_color
{
{"\\`", 1 },{"\\'", 1},{"\\\"", 2}, //
};
If the option is set to "Next line", the indent is working as expected.
Because this code block has no relation with 'if' , I guess it's a bug, please help to check.