| Summary: | size of referances in tooltip may not be correct (point of view) | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Alexandre Martins <deadmaxfr> |
| Component: | Language Support: CPP (Clang-based) | Assignee: | kdevelop-bugs-null |
| Status: | REPORTED --- | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 5.5.2 | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
SUMMARY In a structure, is I point a referance member, the size information show me the size of the referanced structure, not the size of the referance itself. STEPS TO REPRODUCE 1. Use this example in a cpp file: struct test { char buff[1024]; }; struct test2 { test &data1; // show size 1024 test *data2; // show size 8 }; EXPECTED RESULT In my point of view, I expect the "true" size of the member, so 8 in both pointer and referance cases. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 20.10 / Linux 5.8.0-45 KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.74.0 Qt Version: 5.14.2