https://llvm.org/bugs/show_bug.cgi?id=25972
Bug ID: 25972 Summary: New style options: 'BreakInEmptyBraces' and 'SpaceInEmptyBraces' Product: clang Version: trunk Hardware: All OS: All Status: NEW Severity: enhancement Priority: P Component: Formatter Assignee: unassignedclangb...@nondot.org Reporter: l...@alexander.shukaev.name CC: djas...@google.com, kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified I guess the title tells it all, but I'll reiterate. It should be possible to configure whether to put break/space inside empty braces. For instance, it is quite common to have empty/unimplemented structures, methods, constructors, etc., and 'BreakInEmptyBraces' being 'false' would save precious screen lines. 'SpaceInEmptyBraces' seems reasonable for consistency with 'SpaceInEmptyParentheses'. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs