D14479: Store sizeof and friends as numbers instead of comment.
Michal Srb
noreply at phabricator.kde.org
Mon Jul 30 10:45:45 BST 2018
michalsrb created this revision.
Restricted Application added a project: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.
michalsrb requested review of this revision.
REVISION SUMMARY
This way they can be used by other plugins, for example to visualize padding
in structures. They also take a bit less space in duchain in this form.
It is not longer necessary to exclude them from the json test run, since
they are not part of the comment.
The end result is now the same - the values are shown as text in tooltip.
TEST PLAN
Verify that message similar to "size: 96 Bytes; aligned to: 8 Bytes" is
shown in tooltip for classes and class members.
REPOSITORY
R32 KDevelop
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D14479
AFFECTED FILES
kdevplatform/language/duchain/classmemberdeclaration.cpp
kdevplatform/language/duchain/classmemberdeclaration.h
kdevplatform/language/duchain/classmemberdeclarationdata.h
kdevplatform/language/duchain/navigation/abstractdeclarationnavigationcontext.cpp
kdevplatform/language/duchain/navigation/abstractdeclarationnavigationcontext.h
plugins/clang/duchain/builder.cpp
To: michalsrb
Cc: kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180730/8830a59c/attachment-0001.html>
More information about the KDevelop-devel
mailing list