In the following code, KDevelop parses the line 'function(arg), arg = 0;' as two separate function declarations instead of a function call followed by a comma operator. Consequently the line doesn't show up when searching for uses of the 'arg' variable. void function(int) { } int main() { int arg = 1; function(arg), arg = 0; return arg; } Reproducible: Always Steps to Reproduce: 1. Open the above code in KDevelop Actual Results: KDevelop parses three different arg names: one variable and two function declarations of type void (int); http://i.imgur.com/M7yFa.png Expected Results: There is only one arg. This looks somehwat similar to the most vexing parse, but here the c++ standard agrees with the expected interpretation.
Moving all the bugs from the CPP Parser. It was not well defined the difference between it and C++ Language Support and people kept reporting in both places indistinctively
Works in KDevelop 5, using the Clang backend.