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

            Bug ID: 360306
           Summary: Display size and alignment for typedefs
           Product: kdevelop
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: aspotas...@gmail.com

KDevelop 5.x shows sizes of classes in tooltip when hovering their names. E.g.
when I type in "typedef std::type_info x;" and hover "type_info", the tooltip
says:
    size: 16 Bytes
    aligned to: 8 Bytes

But:
 1. The same info is how displayed when I hover "x" in the above line.
 2. There's no way to get the size of a class template instance because you
can't trigger the hover event for the whole expression "std::vector<int>". Even
if I write "typedef std::vector<int> vector_int;", the tooltip for vector_int
does not have size/alignment information because it's a typedef.

Reproducible: Always

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

Reply via email to