[Differential] [Request, 1 line] D2765: clang: Make sure include paths are unique

aspotashev (Alexander Potashev) noreply at phabricator.kde.org
Tue Sep 13 23:08:41 UTC 2016


aspotashev created this revision.
aspotashev added a reviewer: mwolff.
aspotashev added a subscriber: kfunk.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  std::unique() is not enough because it only removes consecutive
  duplicates.
  
  In my case Path(url).parent() pushed into the list at line
  "paths.push_front(Path(url).parent());" was duplicating an existing
  include path probably generated by CMake.
  
  BUG: 361716

REPOSITORY
  rKDEVELOP KDevelop

BRANCH
  master

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

AFFECTED FILES
  languages/clang/codecompletion/includepathcompletioncontext.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: aspotashev, mwolff
Cc: kfunk, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20160913/13d0e12e/attachment-0001.html>


More information about the KDevelop-devel mailing list