You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const volatile auto result{ []() {
const auto something = 1;
return 2;
} };
gets incorrectly formatted to:
const volatile auto result{ []() {
const auto something = 1;
return 2;
} };
That seems to be caused by the fact that with Cpp11BracedListStyle: false, we do not add an indent level, and so the declarations of result and something are considered to be at the same level and hence aligned.
The text was updated successfully, but these errors were encountered:
Found when fixing #44292.
Given config:
this already formatted code:
gets incorrectly formatted to:
That seems to be caused by the fact that with
Cpp11BracedListStyle: false
, we do not add an indent level, and so the declarations ofresult
andsomething
are considered to be at the same level and hence aligned.The text was updated successfully, but these errors were encountered: