D18224: Clang Plugin: Report some problems from included files

Thomas Schöps noreply at phabricator.kde.org
Mon Apr 15 23:59:04 BST 2019


thomassc updated this revision to Diff 56336.
thomassc added a comment.


  Re-add m_diagnosticsCache with a hopefully correct caching implementation. Differing from the original situation, the new function createExternalProblem() adapts the problems it creates to the specific file they are inserted in. The cache thus only caches the original problems as created by ClangDiagnosticEvaluator::createProblem(). createExternalProblem() makes copies of these with a new copy constructor added to ClangProblem.

REPOSITORY
  R32 KDevelop

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D18224?vs=55563&id=56336

REVISION DETAIL
  https://phabricator.kde.org/D18224

AFFECTED FILES
  plugins/clang/duchain/clangproblem.cpp
  plugins/clang/duchain/clangproblem.h
  plugins/clang/duchain/parsesession.cpp
  plugins/clang/duchain/parsesession.h
  plugins/clang/tests/test_duchain.cpp
  plugins/clang/tests/test_duchain.h

To: thomassc, #kdevelop, mwolff
Cc: aaronpuchert, pino, mwolff, kdevelop-devel, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20190415/49ff8cb6/attachment.html>


More information about the KDevelop-devel mailing list