https://bugs.kde.org/show_bug.cgi?id=498983
Bug ID: 498983 Summary: KDevelop built with clang/llvm 19 does not correctly highlight #define directives Classification: Applications Product: kdevelop Version: git master Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Code completion Assignee: kdevelop-bugs-n...@kde.org Reporter: zvova7...@gmail.com Target Milestone: --- Created attachment 177578 --> https://bugs.kde.org/attachment.cgi?id=177578&action=edit 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 -- You are receiving this mail because: You are watching all bug changes.