Community
Participate
Working Groups
For the code: int a; main() { switch (a) { case 0: switch (a) { default: } break; case 1: } } Source->Correct Indentation moves "case 1" one level to the right. As if "case 1" belonged to the nested switch. Source->Format indents the code correctly. Reproducible: always
Created attachment 213893 [details] patch
(In reply to comment #1) Could you please add a test case for this issue to CIndenterTest. Thanks.
Seems that it's broken again. "Source -> Correct Indentation" doesn't indent correctly whereas "Source -> Format" does.