The new c++0x introduces embraced list support {v1,v2,v2} which is currently supported in kdevelop, but not inside a for loop. Something like for (int i: {1,2,3,4}) isn't recognized by the parser. I've attached an .cpp file I used as an example of code. Reproducible: Always Steps to Reproduce: Open the attached code in kdevelop. Actual Results: The text editor show lots of errors arround the list "{}" and don't know the name of the loop iterator.
Created attachment 80487 [details] some test cases
Hello! We are working on a new clang-based C/C++ language plugin for KDevelop 5 which supersedes the old C++ plugin in KDevelop 4. See e.g.: https://www.kdevelop.org/news/first-beta-release-kdevelop-500-available Due to a lack of manpower, we cannot fix bugs in the old C++ plugin. We rather want to supply a good Clang based C++ experience for KDevelop 5 than wasting our time on the legacy C++ support for KDevelop 4. With the new clang-based C/C++ language plugin, the bug presented here does not occur. In my testing. For these reasons, I'll close this bug. Please stay tuned for KDevelop 5. All test cases work under KDevelop 5.0.