Review Request 123960: Set empty ranges for uses of some operators

Olivier Jean de Gaalon olivier.jg at gmail.com
Sun May 31 08:51:36 UTC 2015


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


I have two issues with this:
1. This seems like an overkill way of saying that CXCursor_ArraySubscriptExpr and CXCursor_ConversionFunction should collapse their range. A function taking the cursor kind and useRange and returning a RangeInRevision could work as well, no?
2. IMO these two types should include the opening '(' or '[' in their range, as in oldcpp. Not really ideal, but better than empty I think.

- Olivier Jean de Gaalon


On May 31, 2015, 8:22 a.m., Sergey Kalinichev wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123960/
> -----------------------------------------------------------
> 
> (Updated May 31, 2015, 8:22 a.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Repository: kdev-clang
> 
> 
> Description
> -------
> 
> Once again, uses of those operators invisible, no need to highlight them
> 
> 
> Diffs
> -----
> 
>   duchain/builder.cpp b64d4e0 
>   tests/files/operators.cpp PRE-CREATION 
> 
> Diff: https://git.reviewboard.kde.org/r/123960/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Sergey Kalinichev
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150531/8c9e229c/attachment.html>


More information about the KDevelop-devel mailing list