[clang-format] PR48569 clang-format fails to align case label with `switch`...
[clang-format] PR48569 clang-format fails to align case label with `switch` with Whitesmith Indentation https://bugs.llvm.org/show_bug.cgi?id=48569 This is a tentative fix which addresses a PR raise regarding Case indentation when working with Whitesmiths Indentation I could not find online any reference sources as to what the case indentation for Whitesmith's should be (or be allowed to be) But according to the documentation, we don't obey the rules for Whitesmith's ``` In particular, the documentation states that this option is to "indent case labels one level from the switch statement. When false, use the same indentation level as for the switch statement." ``` The behaviour we add here is actually as the TODO in the tests used to state in {D67627}, but when {D82016} was added and I brought these tests out from being TODO I realized I changed the indentation. Reviewed By: curdeius, HazardyKnusperkeks Differential Revision: https://reviews.llvm.org/D93806
Loading
Please sign in to comment