https://bugs.kde.org/show_bug.cgi?id=434984
Bug ID: 434984 Summary: size of referances in tooltip may not be correct (point of view) Product: kdevelop Version: 5.5.2 Platform: Kubuntu Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Language Support: CPP (Clang-based) Assignee: kdevelop-bugs-n...@kde.org Reporter: deadma...@gmail.com Target Milestone: --- 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 -- You are receiving this mail because: You are watching all bug changes.