Version: 4.2.1 OS: Linux KDevelop can't properly parse typeid expressions as in this file: ................ #include <typeinfo> void f() { int i; typeid(i).name(); } ......................... The "Problems" tool view reports the following: - Unexpected token "." in line 6 (source: parser) - Declaration not found: name in line 6 (source: semantic analysis) If I change the code to read "typeid(1)", i.e. with a value, it replaces the first problem by - Unexpected token "number_literal" Best W. Reproducible: Always
*** This bug has been marked as a duplicate of bug 207377 ***
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