I don't have permissions to push. Someone else please do it.
Aug 16 2018
Aug 14 2018
Thank you for working on this. This interface would work for the kdev-sourceinfo use case just as well as the old one.
Aug 13 2018
I'd like to play with this a bit wrt what can be done in KDevelop with it (I want the problem popups gone). Would you mind if I do some changes along the way? I would post an updated patch here, in case I actually come up with useful changes ...
Thank you for the review. I did the changes to ClassMemberDeclaration::setAlignOf.
Fixes in ClassMemberDeclaration::setAlignOf.
Sorry, I had almost no time to work on it. I got stuck trying to figure out how to properly handle the notes at the beginning of the lines.
Aug 9 2018
Document the -1 value and store alignOf as exponent.
Aug 6 2018
Jul 30 2018
The open question is whether the values should be stored as int64_t. I have chosen it because that is what the clang querying functions return. But in typical scenarios the values will be lot smaller - especially the align of.
Jun 14 2018
Already submitted: https://phabricator.kde.org/D13535
May 2 2018
Looks good from the implementation too so far. One thing I do not see is any changes to the cursorToX / xToCursor functions, is there really no change required there?
Here are screenshots from the sample plugin:
This is my first attempt to propose such API, it may not be ideal.