Created attachment 177578 [details] Correct behavior SUMMARY I noticed that after an update, KDevelop no longer correctly highlights and interprets code lines using #define directives. Strings inside these directives are not highlighted as strings, and features like jumping to declarations don't work correctly. Instead, using Ctrl + Left Click takes me to a random line unrelated to the original click. I started downgrading and rebuilding KDevelop, and eventually, when I built it with Clang/LLVM 18, everything returned to normal. STEPS TO REPRODUCE 1. Take the system with clang/llvm 19 2. Open in KDevelop some C++ project 3. Check lines that uses #define directive OBSERVED RESULT Misinterpreted EXPECTED RESULT Correctly treated each variable/parameter/string/etc
Created attachment 177579 [details] Incorrect behavior
In attached screenshots you can see that string highlighted not as string, also I can't jump to any variable that used in put() directive call, it just put me to the random line and highlight all lines that using this directive.
*** This bug has been marked as a duplicate of bug 496985 ***