[PATCH] Added some options related to inserting spaces around parentheses
Manuel Klimek
klimek at google.com
Mon Jun 3 06:49:13 PDT 2013
================
Comment at: include/clang/Format/Format.h:127
@@ +126,3 @@
+ /// \brief If true, spaces will be inserted after every '(' and before every
+ /// ')'
+ bool SpacesInParentheses;
----------------
Very small nit: Please add '.' at the end of sentences :)
================
Comment at: include/clang/Format/Format.h:128
@@ +127,3 @@
+ /// ')'
+ bool SpacesInParentheses;
+
----------------
Mainly curious: are there really styles that use this, even in c-style casts, like:
int x = ( int )y;
If yes, please add a test so it's clear that this is intended ;)
http://llvm-reviews.chandlerc.com/D881
More information about the cfe-commits
mailing list