Say you have a class member declared as "int foo(void)". When you try to implement this using the code completion you will get a signature of "int myclass::foo(void )" (note the space after the void.
This is likely related to bug 272834. The code completer needs to be taught about the special meaning of "void".
Git commit 9c95600d1ca4d622ec14deb3bf16fe526ec80ba7 by Rolf Eike Beer.
Committed on 09/10/2013 at 14:41.
Pushed by dakon into branch '4.5'.
do not insert spaces in function definition after void or type with no argument name
Hint: basically done by Milian to trick me into being able to fix some of my
problems myself later.
M +4 -1 languages/cpp/codecompletion/helpers.cpp
M +2 -0 languages/cpp/tests/test_cppcodecompletion.cpp