Review Request 124401: Don't add const and volatile modifiers to names of types
Milian Wolff
mail at milianw.de
Mon Jul 20 12:07:35 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124401/#review82701
-----------------------------------------------------------
duchain/builder.cpp (line 120)
<https://git.reviewboard.kde.org/r/124401/#comment57037>
this will break the type name for delayed types like
foo_const
my_const_volatile_type
afaik that can happen for templates currently
- Milian Wolff
On July 20, 2015, 9:19 a.m., Sergey Kalinichev wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124401/
> -----------------------------------------------------------
>
> (Updated July 20, 2015, 9:19 a.m.)
>
>
> Review request for KDevelop.
>
>
> Repository: kdev-clang
>
>
> Description
> -------
>
> Otherwise we end up showing tooltips like: "const const auto".
> This happens because clang_getTypeSpelling prepends type modifiers for auto types.
>
>
> Diffs
> -----
>
> duchain/builder.cpp a04dd7a
> tests/files/types.cpp 193a148
>
> Diff: https://git.reviewboard.kde.org/r/124401/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Sergey Kalinichev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150720/7a6b552a/attachment.html>
More information about the KDevelop-devel
mailing list