================ @@ -0,0 +1,83 @@ +.. title:: clang-tidy - readability-trailing-comma + +readability-trailing-comma +========================== + +Checks for presence or absence of trailing commas in enum definitions and +initializer lists. + +The check can either append trailing commas where they are missing or remove +them where they are present, based on the configured policy. + +Trailing commas offer several benefits: + +- Adding or removing elements may only changes a single line, making diffs ---------------- localspook wrote:
```suggestion - Adding or removing elements at the end only changes a single line, making diffs ``` https://github.com/llvm/llvm-project/pull/173669 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
