Review Request 124745: Always attach AST to the active document

Sergey Kalinichev kalinichev.so.0 at gmail.com
Fri Aug 21 09:23:39 UTC 2015



> On Aug. 20, 2015, 8:13 p.m., Milian Wolff wrote:
> > clangparsejob.cpp, line 257
> > <https://git.reviewboard.kde.org/r/124745/diff/2/?file=396591#file396591line257>
> >
> >     it should still return here, no?

Ideally, yes. But, currently it doesn't always work. See also the comment, that I've added to the code.


- Sergey


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


On Aug. 21, 2015, 12:21 p.m., Sergey Kalinichev wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124745/
> -----------------------------------------------------------
> 
> (Updated Aug. 21, 2015, 12:21 p.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Repository: kdev-clang
> 
> 
> Description
> -------
> 
> This should fix the issue when we had no code completion after restoring context from disk, if the active document wasn't modified beforehand.
> 
> 
> Diffs
> -----
> 
>   tests/test_duchain.cpp 796e3c6 
>   tests/test_duchain.h 694f5a2 
>   duchain/duchainutils.cpp 89efda7 
>   duchain/duchainutils.h 5b1a525 
>   clangsupport.cpp 22b6c96 
>   codecompletion/model.cpp 57902d3 
>   clangsupport.h a047382 
>   clangparsejob.cpp a80433e 
>   clangparsejob.h ba2d5ac 
> 
> Diff: https://git.reviewboard.kde.org/r/124745/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Sergey Kalinichev
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150821/657375d5/attachment.html>


More information about the KDevelop-devel mailing list