Community
Participate
Working Groups
Example #define OLOLO(args) args int foo OLOLO((int,int)); int main() { int a,b; foo/*press Ctrl+Space, CA will suggest you a or b, insert them*/ } this results in: foo(a) b
This seems to be unrelated to macros. I see the same behaviour with: int foo(int,int); int main() { int a,b; foo/*press Ctrl+Space, CA will suggest you a or b, insert them*/ } The issue seems to be related to the function parameters being unnamed.
We also get pretty bad behaviour in the case where the second parameter has a name but the first one does not: int foo(int,int y); int main() { int a,b; foo/*cursor*/ } Interestingly, we get the case where the first parameter has a name but the second one does not, correct.