[cfe-dev] clang-format: Using different rules for spacing * and &

Daniel Jasper djasper at google.com
Fri Sep 26 00:48:05 PDT 2014


There has been a thread about this before. This option is not implemented
in clang-format and I am still quite strongly against it. More Background:

http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20131125/094320.html

On Fri, Sep 26, 2014 at 3:13 AM, Damian Lezama <Damian.Lezama at riverbed.com>
wrote:

> Hi,
>
> I can't find how to do this: void myfunc(int *a, int& b); My coding
> standard asks for pointers sticking to the variable but references sticking
> to the type. Am I missing something here or this feature does not exist? Is
> it possible to add it if it doesn't?
>
> Thanks,
> Damian
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140926/b904d018/attachment.html>


More information about the cfe-dev mailing list