My organization's coding standards include not putting a space before
assignment operators, e.g. "int a= 42;". In order for us to be able to use
clang-format, we need support for this.

I've attached a patch that adds a new format style option,
"SpaceBeforeAssignmentOperators." All the existing hard-coded styles now
default to having it set to true. I've also included a test.

Please let me know if this looks good, or if there's anything else I can do.

Thank you!
Aaron

Attachment: space_before_assignment_operators.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to