18736
|
|
|
Daniel Mensinger |
5 years ago
|
|
|
18735
|
|
|
Daniel Mensinger |
5 years ago
|
|
|
18734
|
|
|
Daniel Mensinger |
5 years ago
|
|
|
18733
|
|
|
Daniel Mensinger |
5 years ago
|
|
|
18732
|
|
|
Daniel Mensinger |
5 years ago
|
|
|
18731
|
|
|
Daniel Mensinger |
5 years ago
|
|
|
18730
|
|
|
Aleix Pol |
5 years ago
|
|
|
18729
|
|
|
l10n daemon script |
5 years ago
|
|
|
18728
|
|
|
Amish Naidu |
5 years ago
|
|
|
18727
|
|
|
Kevin Funk |
5 years ago
|
|
|
18726
|
|
|
l10n daemon script |
5 years ago
|
|
|
18725
|
|
|
l10n daemon script |
5 years ago
|
|
|
18724
|
|
|
Amish Naidu |
5 years ago
|
|
|
18723
|
|
|
l10n daemon script |
5 years ago
|
|
|
18722
|
|
|
Milian Wolff |
5 years ago
|
|
|
18721
|
|
Show size and alignment information in tooltips for typedef or alias
Summary: This patch lets us view the size information when inspecting type aliases. E.g. for C++ code like the following, we'll now see the size (8) and alignment (also 8) when hovering Bar. Previously, that was only shown when hovering Foo:
struct Foo { double m; }; using Bar = Foo;
Sadly, this patch by its own isn't yet enough for the more interesting cases, namely aliases of explicit template instantiations, such as
using Ptr = std::shared_ptr<int>;
Here, we still don't show any size information, since we don't track that information properly. In the builder, we only encounter std::shared_ptr as a template, which doesn't have any size information yet. We would need to build a declaration for the template instantiation of std::shared_ptr, at which point we could ask libclang for the concrete size...
Still, this patch goes into the right direction already, I believe.
Reviewers: #kdevelop
Subscribers: kdevelop-devel
Tags: #kdevelop
Differential Revision: https://phabricator.kde.org/D18097
|
Milian Wolff |
5 years ago
|
|
|
18720
|
|
|
l10n daemon script |
5 years ago
|
|
|
18719
|
|
|
Kevin Funk |
5 years ago
|
|
|
18718
|
|
|
Kevin Funk |
5 years ago
|
|
|
18717
|
|
|
Kevin Funk |
5 years ago
|
|
|