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

            Bug ID: 409041
           Summary: KDevelop shows wrong data type in tooltip
           Product: kdevelop
           Version: 5.3.2
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: b.buschin...@googlemail.com
  Target Milestone: ---

SUMMARY

For the following code:
```
typedef struct {
    int bitmask[1];
} bitmask_a;

typedef struct {
    int bitmask[6];
} bitmask_c;

typedef union {
    bitmask_c bitmask;
} bitmask_union;

void foo()
{
    bitmask_union u;
    (void)u.bitmask;
}
```
When I hover my mouse over last "(void)u.bitmask;", the bitmask part.
It shows "int[1] bitmask", which is wrong it should be "bitmask_c bitmask".

SOFTWARE/OS VERSIONS
Linux: 5.1.11
KDE Plasma Version: 5.16.1
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.3

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

Reply via email to