Re: Results of: [VOTE] New space-before-parens style
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-02-15 18:26:03 CET
kfogel@collab.net wrote:
:-)
OK, the first thing is it doesn't handle open-paren-at-eol properly:
> svn_error_t *
There are about 50 of these, probably just few enough that you could fix them
Here's another problem (one instance happens to have a paren at EOL):
> - typedef BOOL (CALLBACK *encrypt_fn_t)(
> -typedef svn_boolean_t (*password_set_t) (apr_hash_t *creds,
> typedef apr_pool_t *(*svn_swig_pl_get_current_pool_t) (void);
For these I searched for "typedef.*(.*(". Spaces after the return type are
Similarly, but without "typedef", parenthesised functions are missed:
> err = (*subcommand->cmd_func) (os, &opt_state, pool);
> (*fs->warning) (fs->warning_baton, err);
> +do_retry(svn_fs_t *fs,
For this I searched for ") *(". Personally I'd be happy to have no space after
> diffdata[3] = (char) (first_chunk->version);
That wasn't explicitly part of what we voted on, but we're presently
It misses where there is more than one space:
> - SVN_ERR (svn_fs_make_file (txn_root, "q", pool));
There are not many cases of that, I think. I don't think we should worry too
- Julian
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.