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
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
Thanks, I agree that more and more options is not the way to go. I tried to use uncrustify and I had to go over 488 options to configure it. Unfortunately I found some annoying bugs, but even reporting the bugs is a pain since it's really hard to blame a particular option/rule. I'll try to push this through even if it breaks this part of our coding standard.