Review Request 124402: Extract TODO's for imports too
Milian Wolff
mail at milianw.de
Mon Jul 20 12:04:47 UTC 2015
> On July 20, 2015, 9:03 a.m., Aleix Pol Gonzalez wrote:
> > duchain/todoextractor.cpp, line 170
> > <https://git.reviewboard.kde.org/r/124402/diff/1/?file=386306#file386306line170>
> >
> > Again, auto-abuse, this isn't even shorter than:
> > IndexedString path(QDir::cleanPath(ClangString(clang_getFileName
> > (m_file)).toString()));
Aleix, you should get a copy of the latest Scott Meyers book and read that ;-) This is imo _not_ an abuse of auto - quite the contrary.
@Sergey: leave it as is now, but feel free to use your initial version in the future again.
- Milian
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124402/#review82685
-----------------------------------------------------------
On July 20, 2015, 9:20 a.m., Sergey Kalinichev wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124402/
> -----------------------------------------------------------
>
> (Updated July 20, 2015, 9:20 a.m.)
>
>
> Review request for KDevelop.
>
>
> Repository: kdev-clang
>
>
> Description
> -------
>
> To tokenize an included file we need a location containing the whole file, for that we pass max uint value to the clang_getLocation. Clang can correctly handle that case.
>
>
> Diffs
> -----
>
> duchain/parsesession.cpp c573691
> duchain/todoextractor.h 806a264
> duchain/todoextractor.cpp e7d9b20
> tests/test_problems.h cc0ec8c
> tests/test_problems.cpp b039bcf
>
> Diff: https://git.reviewboard.kde.org/r/124402/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Sergey Kalinichev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150720/6b8cc7a5/attachment.html>
More information about the KDevelop-devel
mailing list