Bug 498819 - Syntax Highlighting and Jump To Declaration of macro arguments broken with clang 19
Summary: Syntax Highlighting and Jump To Declaration of macro arguments broken with cl...
Status: RESOLVED DUPLICATE of bug 496985
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (Clang-based) (other bugs)
Version First Reported In: 6.1.241201
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-17 22:12 UTC by git.ceeac
Modified: 2025-01-18 06:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description git.ceeac 2025-01-17 22:12:52 UTC
STEPS TO REPRODUCE
1. Find a *use* of a macro with 1 or more arguments
2. Hover over one of the arguments with the mouse
3. Optionally, open the context menu using right-click and select 'Jump to Declaration'

EXPECTED RESULT
In step 2, only the macro argument should be highlighed
In step 3, should switch to the actual declaration of the argument

OBSERVED RESULT
In step 2, all macros are highlighted, not just the current macro argument
In step 3, Jump to declaration switches to a totally different code location

The bug does not occur when KDevelop is downgraded to 24.12.0-1 with Clang 18

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Stable
KDE Plasma Version: 6.2.5
KDevelop package version: 24.12.1-2
clang package version: 19.1.6-1
Comment 1 Igor Kushnir 2025-01-18 06:48:18 UTC

*** This bug has been marked as a duplicate of bug 496985 ***