Review Request 119708: Try not to lose imports while reparsing.

Sergey Kalinichev kalinichev.so.0 at gmail.com
Tue Aug 19 06:56:29 UTC 2014


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

(Updated Aug. 19, 2014, 6:56 a.m.)


Status
------

This change has been marked as submitted.


Review request for KDevelop.


Repository: kdev-clang


Description
-------

Here is what happens:
We are using CXTranslationUnit_PrecompiledPreamble flag, that makes clang internally use pch, but clang_getInclusions doesn't visit pch.

So let's try to extract this information manually


Diffs
-----

  duchain/clanghelpers.cpp 2c66421 
  duchain/clangindex.cpp bd6c678 
  tests/test_duchain.h 7844c17 
  tests/test_duchain.cpp 563de7a 

Diff: https://git.reviewboard.kde.org/r/119708/diff/


Testing
-------

Added an unit test for it.


Thanks,

Sergey Kalinichev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140819/10f24760/attachment-0001.html>


More information about the KDevelop-devel mailing list