Review Request 117098: Add #include-suggestion to kdev-clang

Jørgen Kvalsvik lycantrophe at lavabit.com
Sun Apr 6 12:07:40 UTC 2014


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

(Updated April 6, 2014, 12:07 p.m.)


Review request for KDevelop.


Changes
-------

All suggested changes implemented. Patch compiles and works as expected, and has been adjusted slightly to deal with the introduction of clangutils.


Repository: kdev-clang


Description
-------

Add #include-suggestion features to kdev-clang


Diffs (updated)
-----

  duchain/CMakeLists.txt d21011a 
  duchain/missinginclude.h PRE-CREATION 
  duchain/missinginclude.cpp PRE-CREATION 
  duchain/parsesession.cpp eee9fb1 

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


Testing
-------

The following errors have been tested, all in an empty project with no CMake file or configuration.

std::vector< int > vect; -> suggests <vector> + forward decl.
QState state; -> suggests <qt4/QtCore/QState> + forward decl.
std::vector< unknown > vect; -> suggests forward declarations.


Thanks,

Jørgen Kvalsvik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140406/36606d68/attachment.html>


More information about the KDevelop-devel mailing list