MyDeveloperDay added a comment. Did you try:
BreakBeforeBraces: Custom BraceWrapping: AfterEnum: true with AfterEnum:true $ clang-format enum.cpp enum { A, }; enum { B, C, D }; enum { E }; with AfterEnum:false $ clang-format enum.cpp enum { A, }; enum { B, C, D }; enum { E }; I believe example is not following the style of BraceWrapping.AfterEnum by virtue of the trailing `,` I think I'd expect the correct behaviour to be enum { A, }; or enum { A, }; depending on that setting Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D77682/new/ https://reviews.llvm.org/D77682 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits