Hi, I've added two options to clang-format: * BreakClassInheritanceListsBeforeColon and * BreakClassInheritanceListsBeforeComma.
They allow us to break on class inheritance lists similarly to constructor
initializer lists.
I've corrected as well the TokenAnnotator, which mistakenly annotated
colons from switch statements ("case:") and from access modifiers
("public:") as TT_InheritanceColon.
The patch in the attachment.
Cheers,
Marek Kurdej
clang-format-break-class-inheritance-lists-before-comma-colon.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
