https://bugs.kde.org/show_bug.cgi?id=498819

            Bug ID: 498819
           Summary: Syntax Highlighting and Jump To Declaration of macro
                    arguments broken with clang 19
    Classification: Applications
           Product: kdevelop
           Version: 6.1.241201
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: git.ce...@gmail.com
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to