[PATCH] D115673: [clang-format] C# switch expression formatting differs from normal switch formatting

2021-12-15 Thread MyDeveloperDay via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGebed0ca71561: [clang-format] C# switch expression formatting differs from normal switch… (authored by MyDeveloperDay). Repository: rG LLVM Github

[PATCH] D115673: [clang-format] C# switch expression formatting differs from normal switch formatting

2021-12-14 Thread MyDeveloperDay via Phabricator via cfe-commits
MyDeveloperDay added a comment. In D115673#3191408 , @curdeius wrote: > LGTM. AFAIK (which is very limited when it comes to C#), the cases can have > also other expressions, not only ints and _. But that can be left for a > different patch. > Example fr

[PATCH] D115673: [clang-format] C# switch expression formatting differs from normal switch formatting

2021-12-13 Thread Marek Kurdej via Phabricator via cfe-commits
curdeius accepted this revision. curdeius added a comment. This revision is now accepted and ready to land. LGTM. AFAIK (which is very limited when it comes to C#), the cases can have also other expressions, not only ints and _. But that can be left for a different patch. Example from https://d

[PATCH] D115673: [clang-format] C# switch expression formatting differs from normal switch formatting

2021-12-13 Thread MyDeveloperDay via Phabricator via cfe-commits
MyDeveloperDay created this revision. MyDeveloperDay added reviewers: HazardyKnusperkeks, curdeius, jbcoe. MyDeveloperDay added projects: clang, clang-format. MyDeveloperDay requested review of this revision. https://github.com/llvm/llvm-project/issues/52677 clang-format doesn't format C# switch