[cfe-dev] clang-format: space after cast and sizeof for GNU coding style
djasper at google.com
Tue Aug 5 06:44:21 PDT 2014
On Tue, Aug 5, 2014 at 3:29 PM, Martin Liška <mliska at suse.cz> wrote:
> I've noticed -style=gnu does not place single space after casts as can
> be seen in: http://www.gnu.org/prep/standards/standards.html
> if you find: "if ((foo = (char *) malloc (sizeof *foo)) == 0)"
> What do you think about that? Maybe, similar behavior should be followed
> for 'static_cast<struct *>' and 'sizeof', where the spaces are missing too?
> Thank you,
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev