Review Request 124401: Don't add const and volatile modifiers to names of types

Sergey Kalinichev kalinichev.so.0 at gmail.com
Mon Jul 20 09:30:49 UTC 2015



> On July 20, 2015, 12:26 p.m., Aleix Pol Gonzalez wrote:
> > tests/files/types.cpp, line 98
> > <https://git.reviewboard.kde.org/r/124401/diff/2/?file=386310#file386310line98>
> >
> >     Shouldn't toString give us the actual type instead of "auto"?

Sadly, currently it's impossible. See also the comment at types.cpp:94


- Sergey


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124401/#review82686
-----------------------------------------------------------


On July 20, 2015, 12:19 p.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, 12:19 p.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/b33932ea/attachment.html>


More information about the KDevelop-devel mailing list