We don't generally want to use the spacing in the input to matter for the 
output. Is this really important? What would be the downside of using language 
options?

Also, just controlling the space might not be sufficient as clang-format also 
might go ahead break between the tokens. Generally, it might be better to 
actually merge the tokens (as is done for the === operation in JavaScript), as 
these should be considered to be a single token. Alternatively, you need to at 
least control CanBreakBefore for these and add tests for 
BreakBeforeBinaryOperators set to All and None.


http://reviews.llvm.org/D6800

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



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

Reply via email to