Review Request: FuncSpec: Qualification is not definition, tests

Olivier Jean de Gaalon olivier.jg at gmail.com
Wed Aug 29 15:24:11 UTC 2012


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

Review request for KDevelop.


Description
-------

I'm trying to throw in small changes to work towards improved template support, starting with function specialization.
This patch adds the all the tests I'm working with (mostly QEXPECT_FAIL since the rest of the work isn't merged), plus one small step to function specialization...
This is a valid function [specialization] declaration:
void ClassE<ClassA>::E_FuncA<ClassA>(ClassA);
But it's currently considered a definition due to the qualified id. This patch changes that and tests for it.


Diffs
-----

  languages/cpp/cppduchain/contextbuilder.cpp edb96f3 
  languages/cpp/cppduchain/declarationbuilder.cpp 3aa6ddf 
  languages/cpp/cppduchain/tests/test_duchain.h f0936a7 
  languages/cpp/cppduchain/tests/test_duchain.cpp fd138fa 

Diff: http://git.reviewboard.kde.org/r/106266/diff/


Testing
-------

Unit tests, new tests.


Thanks,

Olivier Jean de Gaalon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20120829/81386b47/attachment.html>


More information about the KDevelop-devel mailing list