[all-commits] [llvm/llvm-project] ebed0c: [clang-format] C# switch expression formatting dif...
MyDeveloperDay via All-commits
all-commits at lists.llvm.org
Wed Dec 15 11:48:16 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ebed0ca71561f5ca5d54b1f5ddf783897fea002e
https://github.com/llvm/llvm-project/commit/ebed0ca71561f5ca5d54b1f5ddf783897fea002e
Author: mydeveloperday <mydeveloperday at gmail.com>
Date: 2021-12-15 (Wed, 15 Dec 2021)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTestCSharp.cpp
Log Message:
-----------
[clang-format] C# switch expression formatting differs from normal switch formatting
https://github.com/llvm/llvm-project/issues/52677
clang-format doesn't format C# switch expressions very well.
Start with this small use case and try and improve the output. I'll look for other examples to add as tests
Reviewed By: curdeius
Differential Revision: https://reviews.llvm.org/D115673
Fixes #52677
More information about the All-commits
mailing list